1 RUN: llvm-opt-report -r %p %p/Inputs/q3.yaml | FileCheck -strict-whitespace %s
3 ; CHECK: < {{.*[/\]}}q3.c
4 ; CHECK-NEXT: 1 | void bar();
5 ; CHECK-NEXT: 2 | void foo(int n) {
8 ; CHECK-NEXT: 3 | for (int i = 0; i < n; ++i)
10 ; CHECK-NEXT: 3 U4 | for (int i = 0; i < n; ++i)
11 ; CHECK-NEXT: > quack2:
12 ; CHECK-NEXT: 3 U8 | for (int i = 0; i < n; ++i)
13 ; CHECK-NEXT: {{\]\]}}
14 ; CHECK-NEXT: 4 | bar();
17 ; CHECK-NEXT: 7 | void quack() {
18 ; CHECK-NEXT: 8 I | foo(4);
21 ; CHECK-NEXT: 11 | void quack2() {
22 ; CHECK-NEXT: 12 I | foo(8);