blob: 37df228da9ba460c13dbeb86e60de781edf79576 [file] [log] [blame]
// PR c++/27951
// { dg-do compile }
void foo()
{
int i; // { dg-message "previously" }
union { int i; }; // { dg-error "redeclaration" }
}