2004-11-06 22:41:00 +00:00
|
|
|
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
|
|
|
|
2002-07-23 18:25:39 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
char *C = (char*)alloca(argc);
|
|
|
|
strcpy(C, argv[0]);
|
|
|
|
puts(C);
|
|
|
|
}
|