1; Tests that we check for multiple modules in the bitcode file. 2 3; REQUIRES: no_minimal_build 4 5; RUN: not %pnacl_sz -bitcode-as-text \ 6; RUN: %p/Inputs/multiple-modules.tbc \ 7; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \ 8; RUN: | FileCheck %s 9 10; CHECK: Input can't contain more than one module 11 12; RUN: pnacl-bcfuzz -bitcode-as-text \ 13; RUN: %p/Inputs/multiple-modules.tbc -output - \ 14; RUN: | not pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s 15 16; ASM: module { // BlockID = 8 17; ASM: version 1; 18; ASM: } 19; ASM: module { // BlockID = 8 20; ASM: version 1; 21; ASM: } 22; ASM: Error(38:4): Expected 1 top level block in bitcode: Found:2 23