From: Duncan Sands Date: Sun, 13 Jan 2008 18:44:12 +0000 (+0000) Subject: Check that nested functions don't get pointless X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1fac17f2e7dafbbe2619bbd253dd7b957052f5e0;p=oota-llvm.git Check that nested functions don't get pointless static chains. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45936 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2008-01-11-ChainConsistency.c b/test/CFrontend/2008-01-11-ChainConsistency.c new file mode 100644 index 00000000000..13e48a34ac5 --- /dev/null +++ b/test/CFrontend/2008-01-11-ChainConsistency.c @@ -0,0 +1,3 @@ +// RUN: %llvmgcc -S %s -o - -fnested-functions | not grep nest + +void n1(void) { void a(void) { a(); } a(); }