OSDN Git Service

new testcases
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / niklas01a.C
1 // Build don't link: 
2
3 struct A {
4   friend struct B : A {         // ERROR - 
5     int x;
6   };
7   int y;
8 };