blob: e6ec2ed1d04b6115a6fce14616d39a9bccecaad2 [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
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