llvm-project/llvm/test/CodeGen/Generic/opt-codegen-no-target-machine.ll
Matt Arsenault 36b710a7e5
CodeGen: Convert some assorted errors to use reportFatalUsageError (#142031)
The test coverage is lacking for many of these errors.
2025-05-30 08:06:53 +02:00

4 lines
201 B
LLVM

; RUN: not opt %s -dwarf-eh-prepare -o - 2>&1 | FileCheck %s
; CHECK: LLVM ERROR: trying to construct TargetPassConfig without a target machine. Scheduling a CodeGen pass without a target triple set?