aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/gold/invalid.ll
blob: 858cd47adbed4293dbdbbf7be2df5821d8db55cc (plain)
1
2
3
4
5
6
7
; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \
; RUN:    %p/Inputs/invalid.bc -o %t2 2>&1 | FileCheck %s

; test that only one error gets printed

; CHECK: error: LLVM gold plugin has failed to create LTO module: Malformed block
; CHECK-NOT: error