summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/union1.C
blob: 0049f4429166686893ece9bcd4589ab609d860de (plain)
1
2
3
4
5
// PR c++/14401

union U {
  int& i; // { dg-error "" }
};