diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38193deb82e..057f8576920 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ +2012-12-01 Zdenek Sojka + + PR debug/r53860 + * g++.dg/debug/pr53860.C: New test. + 2012-12-01 Alessandro Fanfarillo - Paul Thomas + Paul Thomas PR fortran/46897 * gfortran.dg/defined_assignment_1.f90: New test. diff --git a/gcc/testsuite/g++.dg/debug/pr53860.C b/gcc/testsuite/g++.dg/debug/pr53860.C new file mode 100644 index 00000000000..31a854af4b7 --- /dev/null +++ b/gcc/testsuite/g++.dg/debug/pr53860.C @@ -0,0 +1,14 @@ +// PR debug/53860 +// { dg-do compile } +// { dg-options "-fkeep-inline-functions -fdebug-types-section" } + +void +foo () +{ + struct S + { + S () + { + } + }; +}