rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/using5.C

16 lines
230 B
C

// { dg-do assemble }
// Based on bug report by Klaus-Georg Adams
// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
struct bar {
typedef bar t;
};
struct foo : bar {
using bar::t;
t field;
t meth();
void baz(t arg);
};