Merge branch 'master' into msp430
[llvm/msp430.git] / test / FrontendC / 2006-01-13-StackSave.c
blobdfe00fbde3301ed11030983d7c1951887b505f01
1 // PR691
2 // RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
3 // RUN: llvm-dis | grep llvm.stacksave
5 void test(int N) {
6 int i;
7 for (i = 0; i < N; ++i) {
8 int VLA[i];
9 external(VLA);