add PR number and testcase from the PR.
llvm-svn: 37088
diff --git a/llvm/test/CFrontend/nested-functions.c b/llvm/test/CFrontend/nested-functions.c
index 3ac984c..bccbef3 100644
--- a/llvm/test/CFrontend/nested-functions.c
+++ b/llvm/test/CFrontend/nested-functions.c
@@ -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;
+ }
+}