xref: /llvm-project/llvm/test/Verifier/diexpression-dwarf-entry-value.ll (revision 1ae2d9a2bdce054560104f428e92eaef736e5c7f)
1; RUN: not opt -S < %s 2>&1 | FileCheck %s
2
3; We can only use the internal variant of the entry value operation,
4; DW_OP_LLVM_entry_value, in DIExpressions.
5
6!named = !{!0}
7; CHECK: invalid expression
8!0 = !DIExpression(DW_OP_entry_value, 1)
9