Initial dsymutil tool commit.
[oota-llvm.git] / test / tools / dsymutil / Inputs / basic3.c
1 /* For compilation instructions see basic1.c. */
2
3 volatile int val;
4
5 extern int foo(int);
6
7 int unused2() {
8   return foo(val);
9 }
10
11 static int inc() {
12   return ++val;
13 }
14
15 __attribute__((noinline))
16 int bar(int arg) {
17   if (arg > 42)
18     return inc();
19   return foo(val + arg);
20 }