1 // Build don't link:
2 // GROUPS passed visibility
3 // visibility file
4 // From: klamer@mi.el.utwente.nl (Klamer Schutte)
5 // Date:     Thu, 12 Aug 93 12:03:09 +0200
6 // Subject:  g++ 2.4.5 failed to report a bug
7 // Message-ID: <9308121003.AA02294@mi.el.utwente.nl>
8 class A {
9 protected:
10       void foo(); // ERROR - protected
11 };
12 
13 class B : public A
14 {
bar(A & a)15         void bar(A &a)
16                 {       a.foo(); }// ERROR - .*
17 };
18