URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [sfinae31.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/51973
// { dg-options -std=c++0x }
template <class T>
void f(T t) { };
template <class T> decltype(f<T>(0)) g();
template <class T> decltype(f<T*>(0)) g();
int main()
{
g<void>();
}