aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/nsdmi-union3.C
blob: 35f6509df786924127521c4ba87026ce26c12f3b (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/58965
// { dg-require-effective-target c++11 }

void foo()
{
  static union
  {
    int i = i;
  };
}