OLD | NEW |
1 ; Test that we handle functions that don't end with a terminator instruction. | 1 ; Test that we handle functions that don't end with a terminator instruction. |
2 ; See issue: https://code.google.com/p/nativeclient/issues/detail?id=4214 | 2 ; See issue: https://code.google.com/p/nativeclient/issues/detail?id=4214 |
3 | 3 |
4 ; Don't run in minimal build, since error messages are in generic form | 4 ; Don't run in minimal build, since error messages are in generic form |
5 when minimal. | 5 when minimal. |
6 | 6 |
7 ; REQUIRES: no_minimal_build | 7 ; REQUIRES: no_minimal_build |
8 | 8 |
9 RUN: %p2i --expect-fail --tbc -i %p/Input/no-terminator-inst.tbc --insts \ | 9 RUN: %p2i --expect-fail --tbc -i %p/Input/no-terminator-inst.tbc --insts \ |
| 10 RUN: --args -allow-externally-defined-symbols \ |
10 RUN: | FileCheck --check-prefix=NO-TERM-INST %s | 11 RUN: | FileCheck --check-prefix=NO-TERM-INST %s |
11 | 12 |
12 ; NO-TERM-INST: Last instruction in function not terminator | 13 ; NO-TERM-INST: Last instruction in function not terminator |
OLD | NEW |