OSDN Git Service

fix
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / inline4.C
1 // Build don't link:
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3 // Special g++ Options: -O2
4
5 inline void f ()
6 {
7   return;
8 }
9
10 inline void g ();
11
12 void (*gp)() = &g;
13
14 inline void g ()
15 {
16   f ();
17 }
18
19 extern int array_size;
20
21 void h ()
22 {
23   int lookup_array[array_size];
24   g ();
25 }