mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
22 lines
213 B
C
22 lines
213 B
C
int unused_var = 7;
|
|
int used_var = 7;
|
|
|
|
int
|
|
unused_func (int v)
|
|
{
|
|
return 3 * unused_var;
|
|
}
|
|
|
|
int
|
|
__attribute__((noinline))
|
|
used_func (int v)
|
|
{
|
|
return 2 * used_var;
|
|
}
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
return used_func (5);
|
|
}
|