Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error52.C
blob: d1c6e4a857d366236b0491a8176b4da5728e61a9 [
file
] [
log
] [
blame
]
// PR c++/12288
class
X
{};
struct
S
{
explicit
S
(
const
X
::
T
&)
{}
// { dg-error "does not name a type" }
};
class
Y
{};
typedef
Y
::
T xt
;
// { dg-error "does not name a type" }