blob: 8cca52054e2823f8d579cc77149eda84077de4bd [file] [log] [blame]
; 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
; Don't run in minimal build, since error messages are in generic form
when minimal.
; REQUIRES: no_minimal_build
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