Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
elab2.C
blob: bf59f1b711dc956d8006d2e1c44857800f6263d0 [
file
] [
log
] [
blame
]
struct
A
{};
struct
B
{
typedef
A T
;
// { dg-message "previous declaration" }
friend
struct
T
;
// { dg-error "" }
};