blob: e27180a6bd93c9a7125447b41094253e37c83ad0 [file] [log] [blame]
; 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