blob: 9949efd0959b328aa21741afe919993ea67d769d [file] [log] [blame]
struct A {};
typedef struct
{
virtual void foo() {}
} A::B; // { dg-error "3:typedef" }