aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58510.C
blob: 71f25209826a1f7b7a4bb61aa81a2fe7524ff97c (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/58510
// { dg-do compile { target c++11 } }

void foo()
{
  union
  {		// { dg-error "multiple" }
    int i = 0;
    char c = 0;
  };
}