2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / overload9.C
blob93491fa317607afb0ac558288829c7afe81673d1
1 // { dg-do run  }
2 struct T { ~T() {}; };
4 int g ()
6  foo:
7   T t;
8   int f(int);
9  bar:
10   T t2;
11   int f(double);
12   return f(3);
16 int f(int)
18   return 0;
22 int f(double)
24   return 1;
28 int main()
30   return g();