blob: 5c89603c8aa7ea6788479bda0d6c87dbd9ddb610 [file] [log] [blame]
// Test for implicit typename
// Build don't link:
// Special g++ Options:
template <class T>
struct A {
protected:
typedef struct B { } B;
};
template <class T>
struct C { };
template <class T>
struct D : public A <C <T> > {
void f ()
{
B* new_entries = (B *) 0;
}
};