Chromium Code Reviews| Index: tests_lit/llvm2ice_tests/empty-func.ll |
| diff --git a/tests_lit/llvm2ice_tests/empty-func.ll b/tests_lit/llvm2ice_tests/empty-func.ll |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a5edc02f6631f498fd38cab8092aa827577dc3cc |
| --- /dev/null |
| +++ b/tests_lit/llvm2ice_tests/empty-func.ll |
| @@ -0,0 +1,14 @@ |
| +; RUIN: %llvm2ice -verbose inst %s | FileCheck %s |
| +; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
| +; RUN: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s |
| + |
| +define void @foo() { |
| +; CHECK: define void @foo() |
| +entry: |
| + ret void |
| +; CHECK: entry |
| +; CHECK-NEXT: ret void |
| +} |
| + |
| +; ERRORS-NOT: ICE translation error |
| +; DUMP-NOT: SZ |