Jim Stichnoth | 1aca230 | 2015-09-16 11:25:22 -0700 | [diff] [blame] | 1 | ; Test that a bad phi instruction is caught. |
| 2 | ; https://code.google.com/p/nativeclient/issues/detail?id=4304 |
| 3 | |
| 4 | RUN: %p2i --expect-fail --tbc -i %p/Input/phi-invalid.tbc --insts 2>&1 \ |
John Porto | 385351b | 2015-09-16 16:11:10 -0700 | [diff] [blame] | 5 | RUN: --filetype=obj --args -o /dev/null \ |
Karl Schimpf | 57d31ac | 2015-10-07 09:53:12 -0700 | [diff] [blame] | 6 | RUN: -allow-externally-defined-symbols \ |
Jim Stichnoth | 1aca230 | 2015-09-16 11:25:22 -0700 | [diff] [blame] | 7 | RUN: | FileCheck --check-prefix=BADPHI %s |
| 8 | |
| 9 | ; BADPHI: Phi error: |