URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [crash33.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Jakub Jelinek <jakub@redhat.com>
template <class T>
inline const T& bar(const T& a, const T& b)
{
return a < b ? b : a;
}
int foo(void)
{
return bar(sizeof(int), sizeof(long));
}