blob: 14413b7cabf07ea777f2e31ea0ad6ec3837c0b70 [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: --args -allow-externally-defined-symbols \
RUN: | FileCheck --check-prefix=NO-TERM-INST %s
; NO-TERM-INST: Last instruction in function not terminator