[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / dsymutil / Inputs / basic2.c
blob4524e9bc6cc31a4b7bf623751f21e0a4cbbacfc7
1 /* For compilation instructions see basic1.c. */
3 static int baz = 42;
4 static int private_int;
5 extern volatile int val;
6 int unused_data = 1;
8 int bar(int);
10 void unused1() {
11 bar(baz);
14 static int inc() {
15 return ++private_int;
18 __attribute__((noinline))
19 int foo(int arg) {
20 return bar(arg+val) + inc() + baz++;
23 /* This file was also used to create basic2-custom-linetable.macho.x86_64.o
24 with a custom clang that had different settings for the linetable
25 encoding constants: line_base == -1 and line_range == 4.
27 clang -c -g basic2.c -o basic2-custom-linetable.macho.x86_64.o