projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Eliminate tabs and trailing spaces
[oota-llvm.git]
/
test
/
CFrontend
/
2002-05-24-Alloca.c
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3
#include <string.h>
4
#include <stdio.h>
5
#include <stdlib.h>
6
7
int main(int argc, char **argv) {
8
char *C = (char*)alloca(argc);
9
strcpy(C, argv[0]);
10
puts(C);
11
}