From: No Author Date: Wed, 4 Dec 2002 20:31:43 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: releases/gcc-3.2.2~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36cc63428f7973bc43cf4e532358e182b488defe;p=thirdparty%2Fgcc.git This commit was manufactured by cvs2svn to create branch 'gcc-3_2-branch'. From-SVN: r59830 --- diff --git a/gcc/testsuite/gcc.c-torture/compile/20021204-1.c b/gcc/testsuite/gcc.c-torture/compile/20021204-1.c new file mode 100644 index 000000000000..4e8d3fefcbb4 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20021204-1.c @@ -0,0 +1,16 @@ +/* PR c/7622 */ + +/* Verify that GCC can handle the mix of + extern inline and nested functions. */ + +extern inline int t() +{ + int q() { return 0; } + + return q(); +} + +int foo() +{ + return t(); +}