aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/nsdmi-union5.C
blob: 57dfd59863b723e6e85cc3cb9caf2841895e34fc (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/58701
// { dg-require-effective-target c++11 }
// { dg-final { scan-assembler "7" } }

static union
{
  union
  {
    int i = 7;
  };
};