// PR c++/33459

union A
{
  int &i; // { dg-error "may not have reference type" }
};

void foo()
{
  A();
}


syntax highlighted by Code2HTML, v. 0.9.1