mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
16 lines
290 B
C++
16 lines
290 B
C++
|
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();
|
||
|
}
|