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

20 lines
163 B
C

// { dg-do assemble }
struct C
{
struct D
{
};
};
struct E
{
C& c;
void g();
};
void E::g()
{
c.D().f(); // { dg-error "" } no matching function
}