1 /* For compilation instructions see basic1.c. */ 2 3 static int baz = 42; 4 static int private_int; 5 extern volatile int val; 6 int unused_data = 1; 7 8 int bar(int); 9 unused1()10void unused1() { 11 bar(baz); 12 } 13 inc()14static int inc() { 15 return ++private_int; 16 } 17 18 __attribute__((noinline)) foo(int arg)19int foo(int arg) { 20 return bar(arg+val) + inc() + baz++; 21 } 22 23