aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/lto/20081109-2_0.C
blob: dc43286bf3626a57287ff365521f270f1c24e085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-lto-do assemble }  */
extern void func(int);

struct Foo
{
 void bar() {
   static int local;
   func(local);
 }
 void baz();
};

void Foo::baz() {
 bar();
}