PR c++/67273
[official-gcc.git] / gcc / testsuite / g++.dg / parse / error52.C
blobd1c6e4a857d366236b0491a8176b4da5728e61a9
1 // PR c++/12288
3 class X {};
5 struct S {
6   explicit S (const X::T&) {}  // { dg-error "does not name a type" }
7 };
9 class Y {};
11 typedef Y::T xt;               // { dg-error "does not name a type" }