summaryrefslogtreecommitdiff
path: root/test/Verifier/comdat2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Verifier/comdat2.ll')
-rw-r--r--test/Verifier/comdat2.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Verifier/comdat2.ll b/test/Verifier/comdat2.ll
new file mode 100644
index 0000000000..23b6cee095
--- /dev/null
+++ b/test/Verifier/comdat2.ll
@@ -0,0 +1,5 @@
+; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+
+$v = comdat any
+@v = private global i32 0, comdat $v
+; CHECK: comdat global value has local linkage