Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using47.C
blobc81864705c49ec78e88c8720c2ee7fd95b4ee6ea
1 // PR c++/51152
2 // { dg-do compile }
4 struct A
6     int a;
7 };
9 struct B
11     int b1;
12     int b2;
13     A b3;
16 struct C : B
18     typedef int R;
19     typedef int S;
20     typedef int T;
21     using B::b1;
22     using B::b2;
23     using B::b3;
24     void f()
25     {
26         b3.a;
27         b3.~A();
28     }