1 ; RUN: not llvm-c-test --module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s 2 ; RUN: not llvm-c-test --lazy-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s 3 4 CHECK: Error parsing bitcode: Unknown attribute kind (63) 5 6 7 ; RUN: not llvm-c-test --new-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=NEW %s 8 ; RUN: not llvm-c-test --lazy-new-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=NEW %s 9 10 NEW: Error with new bitcode parser: Unknown attribute kind (63) 11 12 ; RUN: llvm-c-test --test-diagnostic-handler < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=DIAGNOSTIC %s 13 14 DIAGNOSTIC: Executing diagnostic handler 15 DIAGNOSTIC: Diagnostic severity is of type error 16 DIAGNOSTIC: Diagnostic handler was called while loading module 17