[llvm-commits] CVS: llvm/test/CFrontend/nested-functions.c
Chris Lattner
sabre at nondot.org
Tue May 15 13:30:14 PDT 2007
Changes in directory llvm/test/CFrontend:
nested-functions.c added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+10 -0)
nested-functions.c | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm/test/CFrontend/nested-functions.c
diff -c /dev/null llvm/test/CFrontend/nested-functions.c:1.1
*** /dev/null Tue May 15 15:30:07 2007
--- llvm/test/CFrontend/nested-functions.c Tue May 15 15:29:56 2007
***************
*** 0 ****
--- 1,10 ----
+ // RUN: %llvmgcc -S %s -o - -fnested-functions
+ void Bork() {
+ void Fork(const int *src, int size) {
+ int i = 1;
+ int x;
+
+ while (i < size)
+ x = src[i];
+ }
+ }
More information about the llvm-commits
mailing list