summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/diglobalvariable-3.8.ll
blob: 55b3f656c5744fb2c42d304f9792d0aca6ad035b (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-dis -o - %s.bc | FileCheck %s

; CHECK: !0 = distinct !DIGlobalVariable(name: "a", scope: null, isLocal: false, isDefinition: true, expr: !1)
; CHECK: !1 = !DIExpression(DW_OP_constu, 42, DW_OP_stack_value)

!named = !{!0}

!0 = distinct !DIGlobalVariable(name: "a", variable: i32 42)
OpenPOWER on IntegriCloud