2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / eh.C
blob13cbb730c7607ced6cf40323d9e12a626e247218
1 // { dg-do assemble  }
3 class foo {
4 public:
5     ~foo();
6     foo &operator=(const foo &);
7     foo e() const;
8 };
9 class bar {
10 public:
11     foo d() const;
13 struct x {
14     foo a;
15     bar* b;
17 void baz(x *f, int ic)
19     f->a = ic ? f->b->d().e() : f->b->d();