blob: 8db76446a3d73573857b9b9aba2fa6fdb495a113 [file] [log] [blame]
Rafael Espindola6c472e52014-07-29 20:46:19 +00001; RUN: not ld -plugin %llvmshlibdir/LLVMgold.so \
2; RUN: %p/Inputs/invalid.bc -o %t2 2>&1 | FileCheck %s
3
4; test that only one error gets printed
5
6; CHECK: error: LLVM gold plugin has failed to create LTO module: Malformed block
7; CHECK-NOT: error