aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/access1.C
blob: e463ef4c451fc6c2da71169c8f1ff5856e2d015a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }

class X{
    unsigned int i;
  public:
    void f();
};

void X::f()
{
  union {
    int foo[sizeof (i)];
  };
}