llvm-for-llvmta/test/Verifier/diexpression-dwarf-entry-va...

9 lines
242 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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)