Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / python_api / compile_unit / main.c
blobfc53ac95d1789176ab614bfc057750aff2e9201f
1 int a(int);
2 int b(int);
3 int c(int);
5 int a(int val) {
6 if (val <= 1)
7 val = b(val);
8 else if (val >= 3)
9 val = c(val);
11 return val;
14 int b(int val) { return c(val); }
16 int c(int val) {
17 return val + 3; // break here.
20 int main(int argc, char const *argv[]) {
21 int A1 = a(1); // a(1) -> b(1) -> c(1)
22 int B2 = b(2); // b(2) -> c(2)
23 int A3 = a(3); // a(3) -> c(3)
24 return 0;