| ; Test if we recognize a bad basic block count in a function block. | |
| ; REQUIRES: no_minimal_build | |
| ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/bad-bb-size.tbc \ | |
| ; RUN: -bitcode-format=pnacl -notranslate -build-on-read \ | |
| ; RUN: -allow-externally-defined-symbols 2>&1 \ | |
| ; RUN: | FileCheck %s | |
| ; CHECK: Function defines 3105555534 basic blocks, which is too big for a function containing 36 bytes |