summaryrefslogtreecommitdiffstats
path: root/test/Feature/globalredefinition3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/globalredefinition3.ll')
-rw-r--r--test/Feature/globalredefinition3.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Feature/globalredefinition3.ll b/test/Feature/globalredefinition3.ll
new file mode 100644
index 0000000..0183e5a
--- /dev/null
+++ b/test/Feature/globalredefinition3.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as %s -o /dev/null -f |& grep {redefinition of global '@B'}
+
+@B = global i32 7
+@B = global i32 7
OpenPOWER on IntegriCloud