public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [C++ testcase] PR 36107
@ 2012-10-11 14:39 Paolo Carlini
  0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2012-10-11 14:39 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

Hi,

testcase added to testsuite, PR closed as fixed.

Thanks,
Paolo.

/////////////////////

[-- Attachment #2: CL_36107 --]
[-- Type: text/plain, Size: 97 bytes --]

2012-10-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/36107
	* g++.dg/ext/weak5.C: New.

[-- Attachment #3: patch_36107 --]
[-- Type: text/plain, Size: 350 bytes --]

Index: g++.dg/ext/weak5.C
===================================================================
--- g++.dg/ext/weak5.C	(revision 0)
+++ g++.dg/ext/weak5.C	(working copy)
@@ -0,0 +1,12 @@
+// PR c++/36107
+// { dg-do assemble }
+// { dg-require-weak "" }
+
+class Test {
+  public:
+  Test() __attribute__((weak));
+};
+
+void test() {
+  Test test;
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-11 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-11 14:39 [C++ testcase] PR 36107 Paolo Carlini

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).