OSDN Git Service

* class.c (resolve_address_of_overloaded_function): Don't
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / eh2.C
1 // { dg-do assemble  }
2 // { dg-options "-O2" }
3 // Origin: Jakub Jelinek <jakub@redhat.com>
4
5 class a {
6 public:
7   double b;
8   int c;
9   ~a() { }
10 };
11
12 int bar(a x);
13 a foo(double x);
14
15 int baz(double x, int y)
16 {
17    return bar(foo(x));
18 }