// { dg-do compile } // Origin: Giovanni Bajo // Two-phase name lookup for address of member: // Detecting error during parsing struct S { char i; }; template struct X {}; template struct Foo { X<&S::i> x; // { dg-error "convert|no type" } };