commit | e0adffa2d7964736bc7958bb2cf7b68da3e0e2b1 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue May 15 20:40:25 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue May 15 20:40:25 2007 +0000 |
tree | 11d5de05bf8f55a42c6e731dfbc093e04cd4002f | |
parent | decc20930db1758116649aa8e659f7b8707c857f [diff] [blame] |
add PR number and testcase from the PR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37088 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CFrontend/nested-functions.c b/test/CFrontend/nested-functions.c index 3ac984c..bccbef3 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 @@ x = src[i]; } } + +void foo(void *a){ + inline void foo_bar() { + a += 1; + } +}