[llvm-commits] CVS: llvm/test/Regression/CFrontend/2006-01-13-StackSave.c
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 13 14:05:48 PST 2006
Changes in directory llvm/test/Regression/CFrontend:
2006-01-13-StackSave.c added (r1.1)
---
Log message:
testcase for PR691: http://llvm.cs.uiuc.edu/PR691
---
Diffs of the changes: (+12 -0)
2006-01-13-StackSave.c | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/Regression/CFrontend/2006-01-13-StackSave.c
diff -c /dev/null llvm/test/Regression/CFrontend/2006-01-13-StackSave.c:1.1
*** /dev/null Fri Jan 13 16:05:46 2006
--- llvm/test/Regression/CFrontend/2006-01-13-StackSave.c Fri Jan 13 16:05:36 2006
***************
*** 0 ****
--- 1,12 ----
+ // RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep llvm.stacksave
+ // XFAIL: *
+
+ // PR691
+
+ void test(int N) {
+ int i;
+ for (i = 0; i < N; ++i) {
+ int VLA[i];
+ external(VLA);
+ }
+ }
More information about the llvm-commits
mailing list