Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / using5.C
blob672530199c5e21442866be333dcb424e8e2ff215
1 // { dg-do assemble  }
3 // Based on bug report by Klaus-Georg Adams
4 // <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
6 struct bar {
7   typedef bar t;
8 };
10 struct foo : bar {
11   using bar::t;
12   t field;
13   t meth();
14   void baz(t arg);