URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp97.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T> struct A {
template <class U> int f(U) { return 1; }
};
template <>
template <class U>
int A<int>::f(U) { return 0; }
A<int> a;
int main ()
{
return a.f (3);
}
Go to most recent revision | Compare with Previous | Blame | View Log