summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/inline9.C
blob: 9a82fcf72124845b1b33d920f5a73a9d260b7396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do assemble  }
// { dg-options "-O2" }
// Origin: Mark Mitchell <mitchell@codesourcery.com>

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

void g ()
{
  f ();
}

void h ()
{
  f ();
}