URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem4.C] - Rev 301
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-message "candidate is" }
struct SpyExample
{
void ready();
void inputs();
};
void SpyExample::ready()
{
queryAliases(inputs); // { dg-error "matching" }
}
Go to most recent revision | Compare with Previous | Blame | View Log