URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem4.C] - Rev 847
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 "queryAliases|no known conversion" }
struct SpyExample
{
void ready();
void inputs();
};
void SpyExample::ready()
{
queryAliases(inputs); // { dg-error "matching|unresolved" }
}
Go to most recent revision | Compare with Previous | Blame | View Log