c++: private inheritance access diagnostics fix [PR17314]
[gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / visibility8.C
index 3c443afe67854cebab0ef072ee75c4fb3f2aad71..c165b0874a05edba8c78f658061cd27f829401c6 100644 (file)
@@ -5,9 +5,9 @@
 class foo
 {
 public:
-  static int y; // { dg-message "" } private
+  static int y; 
 };
-class foo1 : private foo
+class foo1 : private foo // { dg-message "" } private
 { };
 class foo2 : public foo1
 { public: