blob: 2fd1707627b695c3e68f28b6017329933352be68 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Build don't link:
struct A { typedef int foo; };
struct B: public A {
typedef int bar;
struct C {
void g (B::bar); // gets bogus error - nested type failure
void f (B::foo);
};
};
|