Debian Codegraph @

gcc/testsuite/g++.dg/parse/error52.C

raw
1 // PR c++/12288
2
3 class X {};
4
5 struct S {
6 explicit S (const X::T&) {} // { dg-error "does not name a type" }
7 };
8
9 class Y {};
10
11 typedef Y::T xt; // { dg-error "does not name a type" }