blob: afae0ea1092c586988b0b0701975fd0818f22b03 [file] [log] [blame]
Rafael Espindola3ee23a92015-02-03 00:49:57 +00001; RUN: not llvm-c-test --module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
Rafael Espindolaf382b882015-12-18 13:58:05 +00002; RUN: not llvm-c-test --lazy-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
Rafael Espindola3ee23a92015-02-03 00:49:57 +00003
Vaivaswatha Nagarajfb3f4902015-12-16 16:16:19 +00004CHECK: Error parsing bitcode: Unknown attribute kind (52)
Rafael Espindola2339ffe2015-12-18 23:46:42 +00005
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
10NEW: Error with new bitcode parser: Unknown attribute kind (52)