From 9bd76a9f54afab8d9549e63a367311c9f0fadb4a Mon Sep 17 00:00:00 2001 From: Zdenek Sojka Date: Sat, 1 Dec 2012 08:08:41 -0800 Subject: [PATCH] Add a testcase for PR debug/r53860 PR debug/r53860 * g++.dg/debug/pr53860.C: New test. From-SVN: r194018 --- gcc/testsuite/ChangeLog | 7 ++++++- gcc/testsuite/g++.dg/debug/pr53860.C | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/g++.dg/debug/pr53860.C 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 () + { + } + }; +}