summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/diglobalvariable.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Assembler/diglobalvariable.ll')
-rw-r--r--llvm/test/Assembler/diglobalvariable.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Assembler/diglobalvariable.ll b/llvm/test/Assembler/diglobalvariable.ll
index 02dd6289c0a..b4ff508bed6 100644
--- a/llvm/test/Assembler/diglobalvariable.ll
+++ b/llvm/test/Assembler/diglobalvariable.ll
@@ -20,5 +20,6 @@
!6 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 8, align: 8)
!7 = !DIDerivedType(tag: DW_TAG_member, name: "mem", flags: DIFlagStaticMember, scope: !6, baseType: !3)
-; CHECK: !8 = !DIGlobalVariable(name: "mem", scope: !0, isLocal: false, isDefinition: true, declaration: !7)
-!8 = !DIGlobalVariable(name: "mem", scope: !0, declaration: !7)
+; CHECK: !8 = !DIGlobalVariable(name: "mem", scope: !0, type: !9, isLocal: false, isDefinition: true, declaration: !7)
+!8 = !DIGlobalVariable(name: "mem", scope: !0, declaration: !7, type: !9)
+!9 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
OpenPOWER on IntegriCloud