rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/crash33.C

14 lines
219 B
C

// { 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));
}