blob: 665f09c2cc0cec5cdb3dd616ea2f9b9f4d535d4c [file] [log] [blame]
; Test that a bad phi instruction is caught.
; https://code.google.com/p/nativeclient/issues/detail?id=4304
RUN: %p2i --expect-fail --tbc -i %p/Input/phi-invalid.tbc --insts 2>&1 \
RUN: --filetype=obj --output /dev/null \
RUN: --args -allow-externally-defined-symbols \
RUN: | FileCheck --check-prefix=BADPHI %s
; BADPHI: Phi error: