blob: 95dc5beb96c947979168af692f095bd5b6a89dcb [file] [log] [blame]
// PR c++/72707
// { dg-do compile }
void
foo (double x)
{
union { int x; }; // { dg-error "shadows a parameter" }
x = 0;
}