summaryrefslogtreecommitdiffstats
path: root/llvm/test/Verifier/diexpression-dwarf-entry-value.ll
blob: cc7b41da4af719c590095a5f1293efdf4c266e95 (plain)
1
2
3
4
5
6
7
8
; 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)
OpenPOWER on IntegriCloud