blob: 10c8b824ae5ac3e4843ce5c3c8221c7ef6f00277 (
plain)
1
2
3
4
5
6
7
8
9
|
// PR c++/20153
template <typename T>
void
foo()
{
union { struct { }; }; // { dg-error "prohibits anonymous struct" "anon" }
// { dg-error "not inside" "not inside" { target *-*-* } 7 }
}
|