From: "Zdeněk Sojka" <zsojka@seznam.cz>
To: <gcc-patches@gcc.gnu.org>
Cc: <aoliva@gcc.gnu.org>
Subject: [testcase] add testcase for PR53860
Date: Sat, 01 Dec 2012 10:23:00 -0000 [thread overview]
Message-ID: <Pvr.2Wpz.1Zpa1D9l4W1.1GkTgS@seznam.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
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.
[-- Attachment #2: pr53860-testcase.diff --]
[-- Type: text/x-diff, Size: 433 bytes --]
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 ()
+ {
+ }
+ };
+}
next reply other threads:[~2012-12-01 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-01 10:23 Zdeněk Sojka [this message]
2012-12-01 16:10 ` H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pvr.2Wpz.1Zpa1D9l4W1.1GkTgS@seznam.cz \
--to=zsojka@seznam.cz \
--cc=aoliva@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).