1 RUN: llvm-opt-report -r %p %p/Inputs/dm.yaml | FileCheck -strict-whitespace %s
3 ; CHECK: < {{.*[/\]}}dm.c
4 ; CHECK-NEXT: 1 | void bar(void);
5 ; CHECK-NEXT: 2 | void foo(int n) {
6 ; CHECK-NEXT: 3 | if (n) { bar(); } else { while (1) {} }
9 ; CHECK-NEXT: 6 | void quack(void) {
10 ; CHECK-NEXT: 7 I | foo(0);
13 ; CHECK-NEXT: 10 | void quack2(void) {
14 ; CHECK-NEXT: 11 I | foo(4);