URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [explicit50.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
extern "C" void abort ();
template <class T> int f ()
{
return sizeof(T);
}
int main ()
{
if (f<long> () != sizeof(long)
|| f<char> () != sizeof(char)
|| f<long> () != sizeof(long)
|| f<long int> () != sizeof(long int))
abort ();
}
Go to most recent revision | Compare with Previous | Blame | View Log