Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / Verifier / diexpression-entry-value.ll
blob34b1bceb0535b5e8b6a4dfdc10d902f129fb463d
1 ; RUN: not opt -S < %s 2>&1 | FileCheck %s
3 !named = !{!0, !1, !2}
4 ; CHECK: invalid expression
5 ; CHECK-NEXT: !DIExpression
6 ; CHECK: invalid expression
7 ; CHECK-NEXT: !DIExpression
8 ; CHECK: invalid expression
9 ; CHECK-NEXT: !DIExpression
10 !0 = !DIExpression(DW_OP_LLVM_entry_value, 4, DW_OP_constu, 0, DW_OP_stack_value)
11 !1 = !DIExpression(DW_OP_constu, 0, DW_OP_LLVM_entry_value, 1, DW_OP_constu, 0)
12 !2 = !DIExpression(DW_OP_LLVM_entry_value, 100, DW_OP_constu, 0)