Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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 "" }
};