Add a testcase for PR debug/r53860

PR debug/r53860
	* g++.dg/debug/pr53860.C: New test.

From-SVN: r194018
This commit is contained in:
Zdenek Sojka 2012-12-01 08:08:41 -08:00 committed by H.J. Lu
parent 8d317164c4
commit 9bd76a9f54
2 changed files with 20 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2012-12-01 Zdenek Sojka <zsojka@seznam.cz>
PR debug/r53860
* g++.dg/debug/pr53860.C: New test.
2012-12-01 Alessandro Fanfarillo <alessandro.fanfarillo@gmail.com>
Paul Thomas <pault@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>
PR fortran/46897
* gfortran.dg/defined_assignment_1.f90: New test.

View File

@ -0,0 +1,14 @@
// PR debug/53860
// { dg-do compile }
// { dg-options "-fkeep-inline-functions -fdebug-types-section" }
void
foo ()
{
struct S
{
S ()
{
}
};
}