// { dg-do assemble } // // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 5 Sept 2000 // bug 73. We failed to compare explicit arguments for a TEMPLATE_ID_EXPR in a // TYPENAME_TYPE. struct Plus { template struct Sig { typedef int Third;}; }; template struct Ethel { typedef int WrappedType; }; struct Fred { template Ethel::Third> baz (); template Ethel::Third> foo ( const Z&, const Ethel&, const Ethel&) const; }; int main() { Fred f; Ethel e; Plus p; f.foo (p, e, e); return 0; }