| # RUN: llvm-sim -o %t %S/Inputs/sim1.ll |
| # RUN: FileCheck %s < %t |
| |
| # Checking the output of a single module test. |
| |
| # CHECK: { |
| # CHECK-NEXT: "1": [ |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 14, |
| # CHECK-NEXT: "end": 19 |
| # CHECK-NEXT: }, |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 4, |
| # CHECK-NEXT: "end": 9 |
| # CHECK-NEXT: } |
| # CHECK-NEXT: ], |
| # CHECK-NEXT: "2": [ |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 15, |
| # CHECK-NEXT: "end": 19 |
| # CHECK-NEXT: }, |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 5, |
| # CHECK-NEXT: "end": 9 |
| # CHECK-NEXT: } |
| # CHECK-NEXT: ], |
| # CHECK-NEXT: "3": [ |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 16, |
| # CHECK-NEXT: "end": 19 |
| # CHECK-NEXT: }, |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 6, |
| # CHECK-NEXT: "end": 9 |
| # CHECK-NEXT: } |
| # CHECK-NEXT: ], |
| # CHECK-NEXT: "4": [ |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 17, |
| # CHECK-NEXT: "end": 19 |
| # CHECK-NEXT: }, |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 7, |
| # CHECK-NEXT: "end": 9 |
| # CHECK-NEXT: } |
| # CHECK-NEXT: ], |
| # CHECK-NEXT: "5": [ |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 18, |
| # CHECK-NEXT: "end": 19 |
| # CHECK-NEXT: }, |
| # CHECK-NEXT: { |
| # CHECK-NEXT: "start": 8, |
| # CHECK-NEXT: "end": 9 |
| # CHECK-NEXT: } |
| # CHECK-NEXT: ] |
| # CHECK-NEXT:} |