blob: bf59f1b711dc956d8006d2e1c44857800f6263d0 [file] [log] [blame]
struct A {};
struct B
{
typedef A T; // { dg-message "previous declaration" }
friend struct T; // { dg-error "" }
};