summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/elf-associated.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/elf-associated.ll')
-rw-r--r--test/CodeGen/X86/elf-associated.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/elf-associated.ll b/test/CodeGen/X86/elf-associated.ll
index 361cf66cce728..7d58c34370257 100644
--- a/test/CodeGen/X86/elf-associated.ll
+++ b/test/CodeGen/X86/elf-associated.ll
@@ -37,3 +37,8 @@
@l = global i32 1, section "ccc", !associated !5
!5 = !{i32* null}
; CHECK-DAG: .section ccc,"aw",@progbits
+
+; Null metadata.
+@m = global i32 1, section "ddd", !associated !6
+!6 = distinct !{null}
+; CHECK-DAG: .section ddd,"aw",@progbits