Author: baldrick Date: Sun Jan 13 12:44:12 2008 New Revision: 45936 URL: http://llvm.org/viewvc/llvm-project?rev=45936&view=rev Log: Check that nested functions don't get pointless static chains.
Added: llvm/trunk/test/CFrontend/2008-01-11-ChainConsistency.c Added: llvm/trunk/test/CFrontend/2008-01-11-ChainConsistency.c URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2008-01-11-ChainConsistency.c?rev=45936&view=auto ============================================================================== --- llvm/trunk/test/CFrontend/2008-01-11-ChainConsistency.c (added) +++ llvm/trunk/test/CFrontend/2008-01-11-ChainConsistency.c Sun Jan 13 12:44:12 2008 @@ -0,0 +1,3 @@ +// RUN: %llvmgcc -S %s -o - -fnested-functions | not grep nest + +void n1(void) { void a(void) { a(); } a(); } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits