| 1 |
; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ |
| 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 |