Chromium Code Reviews| 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..10544843b69c3369c2c22e4c111bb692850b13e2 |
| --- /dev/null |
| +++ b/tests_lit/llvm2ice_tests/invalid.test |
| @@ -0,0 +1,7 @@ |
| +; Test that we handle functions that don't end with terminator instruction. |
|
Jim Stichnoth
2015/06/29 22:43:12
with a terminator
Karl
2015/06/30 18:46:09
Done.
|
| +; See issue: https://code.google.com/p/nativeclient/issues/detail?id=4214 |
| + |
| +RUN: %p2i --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 |