1// { dg-do assemble } 2// { dg-options "-ansi -pedantic-errors -O2" } 3// Copyright (C) 1999 Free Software Foundation, Inc. 4// Contributed by Nathan Sidwell 29 Nov 1999 <nathan@acm.org> 5 6 7struct Foo 8{ 9 inline ~Foo (); 10}; 11 12inline void Wibble (int) throw () 13{ 14} 15 16inline Foo::~Foo () 17{ 18 Wibble (6); 19} 20 21int ExtendFoos () 22{ 23 Foo tmp; 24 return 0; 25} 26