Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // Origin: Jakub Jelinek <[email protected]>
3
4 template <class T>
5 inline const T& bar(const T& a, const T& b)
6 {
7 return a < b ? b : a;
8 }
9
10 int foo(void)
11 {
12 return bar(sizeof(int), sizeof(long));
13 }