| Index: tests_lit/llvm2ice_tests/invalid.test
|
| diff --git a/tests_lit/llvm2ice_tests/invalid.test b/tests_lit/llvm2ice_tests/invalid.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e6ec2ed1d04b6115a6fce14616d39a9bccecaad2
|
| --- /dev/null
|
| +++ b/tests_lit/llvm2ice_tests/invalid.test
|
| @@ -0,0 +1,7 @@
|
| +; Test that we handle functions that don't end with a terminator instruction.
|
| +; See issue: https://code.google.com/p/nativeclient/issues/detail?id=4214
|
| +
|
| +RUN: %p2i --expect-fail --tbc -i %p/Input/no-terminator-inst.tbc --insts \
|
| +RUN: | FileCheck --check-prefix=NO-TERM-INST %s
|
| +
|
| +; NO-TERM-INST: Last instruction in function not terminator
|
|
|