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 3 4 ; Don't run in minimal build, since error messages are in generic form 5 when minimal. 6 7 ; REQUIRES: no_minimal_build 8 9 RUN: %p2i --expect-fail --tbc -i %p/Input/no-terminator-inst.tbc --insts \ 10 RUN: --args -allow-externally-defined-symbols \ 11 RUN: | FileCheck --check-prefix=NO-TERM-INST %s 12 13 ; NO-TERM-INST: Last instruction in function not terminator 14