summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup14.C
blob: 2d2560ee71cdfe33da07d980f775271464e535d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

union U {
  typedef int I;

  struct S {
    void f();
  };
};

void U::S::f() {
  I i;
}