summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup10.C
blob: a60071dabdd5241c88b8a6bc33b361a62d4ea80c (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

struct A {
  struct B {
    static int i;
  };
  enum { a };
};

int A::B::i = a;