aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/pr13229.cc
blob: 14083624edfc9efb5302946855453ef955755c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
void call_something (int);
inline void optimize_me_out (void)
{ 
  call_something(0);
}
__attribute__ ((visibility("hidden")))
void optimize_me_out2 (int param)
{ 
  if ((void *)optimize_me_out != (void *)call_something)
    call_something(0);
}
void test2 (void)
{ 
  optimize_me_out();
}