For PR1077:
[oota-llvm.git] / test / Feature / globalredefinition3.ll
diff --git a/test/Feature/globalredefinition3.ll b/test/Feature/globalredefinition3.ll
new file mode 100644 (file)
index 0000000..e89ca07
--- /dev/null
@@ -0,0 +1,9 @@
+; When PR1067 is fixed, this should not be XFAIL any more.
+; RUN: llvm-as < %s -o /dev/null -f 2>&1 | \
+; RUN:   grep 'Cannot redefine'
+; XFAIL: *
+
+; Test forward references and redefinitions of globals
+
+%B = global i32 7
+%B = global i32 7