public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [C++ testcase, committed as obvious] PR 40145
@ 2011-09-29  6:56 Paolo Carlini
  0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2011-09-29  6:56 UTC (permalink / raw)
  To: gcc-patches

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

Hi,

tested x86_64-linux, committed.

Paolo.

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

[-- Attachment #2: CL_40145 --]
[-- Type: text/plain, Size: 109 bytes --]

2011-09-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/40145
	* g++.dg/ext/visibility/warn5.C: New.


[-- Attachment #3: patch_40145 --]
[-- Type: text/plain, Size: 467 bytes --]

Index: g++.dg/ext/visibility/warn5.C
===================================================================
--- g++.dg/ext/visibility/warn5.C	(revision 0)
+++ g++.dg/ext/visibility/warn5.C	(revision 0)
@@ -0,0 +1,11 @@
+// PR c++/40145
+// { dg-do compile }
+// { dg-require-visibility "" }
+// { dg-options "-fvisibility=hidden" }
+
+struct EditorInternalCommand { };
+
+static void createCommandMap()
+{
+    struct CommandEntry { EditorInternalCommand command; };
+}

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

only message in thread, other threads:[~2011-09-28 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-29  6:56 [C++ testcase, committed as obvious] PR 40145 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).