diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-15 20:40:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-15 20:40:25 +0000 |
commit | e0adffa2d7964736bc7958bb2cf7b68da3e0e2b1 (patch) | |
tree | 11d5de05bf8f55a42c6e731dfbc093e04cd4002f /test | |
parent | decc20930db1758116649aa8e659f7b8707c857f (diff) | |
download | external_llvm-e0adffa2d7964736bc7958bb2cf7b68da3e0e2b1.zip external_llvm-e0adffa2d7964736bc7958bb2cf7b68da3e0e2b1.tar.gz external_llvm-e0adffa2d7964736bc7958bb2cf7b68da3e0e2b1.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/nested-functions.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ void Bork() { x = src[i]; } } + +void foo(void *a){ + inline void foo_bar() { + a += 1; + } +} |