Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using37.C
bloba71206e89f763b10a394cab283a42c924719b3e4
1 // PR c++/30195
2 // { dg-do run }
4 template<class T> struct B
6     void foo(T) {}
7 };
9 template<class T>
10 struct D : B<int>, B<double>
12   using B<int>::foo;
13   using B<double>::foo;
14   void bar() { foo(3); }
17 int main()
19   D<int> x;
20   x.bar();
21   return 0;