URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem4.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// Origin: Scott Snyder <snyder@fnal.gov>
// PR c++/8849
// Pointer to member function template argument deduction ICE.
template <class CONT> void queryAliases(CONT& fill_me); // { dg-error "candidates" }
struct SpyExample
{
void ready();
void inputs();
};
void SpyExample::ready()
{
queryAliases(inputs); // { dg-error "" }
}
Go to most recent revision | Compare with Previous | Blame | View Log