1 // Build don't link: 2 3 // Copyright (C) 2000 Free Software Foundation 4 5 // by Alexandre Oliva <aoliva@cygnus.com> 6 // distilled from libg++'s Fix.cc 7 8 // crash test - XFAIL i*86-*-* 9 10 struct Integer { ~IntegerInteger11 ~Integer () {} 12 }; 13 14 void foo (const Integer& y); 15 Integer bar (const Integer& x); 16 show(const Integer & x)17void show (const Integer& x) { 18 foo (bar (x)); 19 } 20