llvm-for-llvmta/test/Verifier/diexpression-dwarf-entry-value.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

9 lines
242 B
LLVM

; RUN: not opt -S < %s 2>&1 | FileCheck %s
; We can only use the internal variant of the entry value operation,
; DW_OP_LLVM_entry_value, in DIExpressions.
!named = !{!0}
; CHECK: invalid expression
!0 = !DIExpression(DW_OP_entry_value, 1)