This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Mainline testcase for PR 16676


This bug was fixed independently in 4.0/mainline, but it wouldn't hurt to put a
regression test case on the mailine.  I'm going to assume this is obvious and commit it:

2005-05-10  Ben Elliston  <bje@au.ibm.com>

       PR debug/16676
       * gcc.dg/debug/pr16676.c: New test.

Index: gcc.dg/debug/pr16676.c
===================================================================
RCS file: gcc.dg/debug/pr16676.c
diff -N gcc.dg/debug/pr16676.c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ gcc.dg/debug/pr16676.c      10 May 2005 01:25:53 -0000
@@ -0,0 +1,5 @@
+/* { dg-do compile } */
+
+void foo (void) {
+  void nested () {}
+}

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]