From: Chris Lattner Date: Tue, 15 May 2007 20:29:56 +0000 (+0000) Subject: new testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=decc20930db1758116649aa8e659f7b8707c857f;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37087 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/nested-functions.c b/test/CFrontend/nested-functions.c new file mode 100644 index 00000000000..3ac984c3bce --- /dev/null +++ b/test/CFrontend/nested-functions.c @@ -0,0 +1,10 @@ +// RUN: %llvmgcc -S %s -o - -fnested-functions +void Bork() { + void Fork(const int *src, int size) { + int i = 1; + int x; + + while (i < size) + x = src[i]; + } +}