Hello,

as advised by Alexandre Oliva at 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53860#c3 , I am submitting a 
testcase for PR53860. If Ok, I need someone to commit this patch.
Tested by make check-g++.

Thanks,
Zdenek Sojka

Changelog:
PR debug/53860
* g++.dg/debug/pr53860.C: New testcase.
Index: gcc/testsuite/g++.dg/debug/pr53860.C
===================================================================
--- gcc/testsuite/g++.dg/debug/pr53860.C	(revision 0)
+++ gcc/testsuite/g++.dg/debug/pr53860.C	(revision 0)
@@ -0,0 +1,14 @@
+// PR debug/53860
+// { dg-do compile }
+// { dg-options "-fkeep-inline-functions -fdebug-types-section" }
+
+void
+foo ()
+{
+  struct S
+  {
+    S ()
+    {
+    }
+  };
+}

Reply via email to