llvm-for-llvmta/test/tools/gold/X86/invalid.ll

8 lines
260 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
; 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