repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git]
/
test
/
FrontendC
/
2002-05-24-Alloca.c
blob
ac5b78d0c9972136a2688b83ef1c7174befc3151
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
}