aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/lookup/using35.C
blob: e7e82741d643b8f6206676423eada93db1f304e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile }

struct A { typedef int type; };
struct B { typedef int type; };
struct C : B { using B::type; };

struct D : A, C
{
  using C::type;
  void f() { type t = 0;}
};