aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup14.C
blob: 5c81c44815a1008b758cfcb75a7a4f1ef0cff6e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>

union U {
  typedef int I;

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

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