llvm-6502/test/tools/gold/invalid.ll

8 lines
251 B
LLVM
Raw Normal View History

; RUN: not ld -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