]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Wed, 4 Dec 2002 20:31:43 +0000 (20:31 +0000)
committerNo Author <no-author@gcc.gnu.org>
Wed, 4 Dec 2002 20:31:43 +0000 (20:31 +0000)
'gcc-3_2-branch'.

From-SVN: r59830

gcc/testsuite/gcc.c-torture/compile/20021204-1.c [new file with mode: 0644]

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 (file)
index 0000000..4e8d3fe
--- /dev/null
@@ -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();
+}