OSDN Git Service

* call.c (add_candidates): Add first_arg and return_type parms.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.eh / inline1.C
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
7 struct Foo
8 {
9   inline ~Foo ();
10 };
11
12 inline void Wibble (int) throw ()
13 {
14 }
15
16 inline Foo::~Foo ()
17 {
18   Wibble (6);
19 }
20
21 int ExtendFoos ()
22 {
23   Foo  tmp;
24   return 0;
25 }