diff --git a/test/CFrontend/nested-functions.c b/test/CFrontend/nested-functions.c index 3ac984c3bce..bccbef3dbdd 100644 --- a/test/CFrontend/nested-functions.c +++ b/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 @@ void Bork() { x = src[i]; } } + +void foo(void *a){ + inline void foo_bar() { + a += 1; + } +}