From: Chris Lattner Date: Tue, 15 May 2007 20:40:25 +0000 (+0000) Subject: add PR number and testcase from the PR. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e0adffa2d7964736bc7958bb2cf7b68da3e0e2b1;p=oota-llvm.git 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 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; + } +}