[llvm-commits] CVS: llvm/test/CFrontend/nested-functions.c

Chris Lattner sabre at nondot.org
Tue May 15 13:40:44 PDT 2007



Changes in directory llvm/test/CFrontend:

nested-functions.c updated: 1.1 -> 1.2
---
Log message:

add PR number and testcase from the PR.


---
Diffs of the changes:  (+8 -0)

 nested-functions.c |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/CFrontend/nested-functions.c
diff -u llvm/test/CFrontend/nested-functions.c:1.1 llvm/test/CFrontend/nested-functions.c:1.2
--- llvm/test/CFrontend/nested-functions.c:1.1	Tue May 15 15:29:56 2007
+++ llvm/test/CFrontend/nested-functions.c	Tue May 15 15:40:25 2007
@@ -1,4 +1,6 @@
 // RUN: %llvmgcc -S %s -o -  -fnested-functions
+// PR1274
+
 void Bork() {
   void Fork(const int *src, int size) {
     int i = 1;
@@ -8,3 +10,9 @@
       x = src[i];
   }
 }
+
+void foo(void *a){
+  inline void foo_bar() {
+    a += 1;
+  }
+}






More information about the llvm-commits mailing list