PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2002-05-24-Alloca.c
blobac5b78d0c9972136a2688b83ef1c7174befc3151
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
3 #include <string.h>
4 #include <stdio.h>
5 #include <stdlib.h>
7 int main(int argc, char **argv) {
8 char *C = (char*)alloca(argc);
9 strcpy(C, argv[0]);
10 puts(C);