summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.old-deja/g++.other/inline9.C
blob: 9256c5f9da58709720c2796f9b91ff373a0b2788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Build don't link:
// Origin: Mark Mitchell <mitchell@codesourcery.com>
// Special g++ Options: -O2

inline void f ()
{
  int n;
  int i[n];
}

void g ()
{
  f ();
}

void h ()
{
  f ();
}

OpenPOWER on IntegriCloud