Hi,

tested x86_64-linux, committed.
Paolo.

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

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

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; };
+}

Reply via email to