add PR number and testcase from the PR.
authorChris Lattner <sabre@nondot.org>
Tue, 15 May 2007 20:40:25 +0000 (20:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 May 2007 20:40:25 +0000 (20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37088 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/nested-functions.c

index 3ac984c3bce955c4df919e51c17d144ae62b3dc4..bccbef3dbdd8655ed8562b3c4f8731d16ba805c5 100644 (file)
@@ -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 @@ void Bork() {
       x = src[i];
   }
 }
+
+void foo(void *a){
+  inline void foo_bar() {
+    a += 1;
+  }
+}