OSDN Git Service

* class.c (resolve_address_of_overloaded_function): Don't
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / crash33.C
1 // { dg-do assemble  }
2 // Origin: Jakub Jelinek <jakub@redhat.com>
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 }