Fix up scoping in a few tests (and delete one that validates unnecessary behavior).
[oota-llvm.git] / test / Feature / aliases.ll
index 7fe9d0b374ec59e658f1132f21ab81a6d9203b10..ad1d1b08901c8710a57aedb2f08e932344dd35d9 100644 (file)
@@ -8,6 +8,13 @@
 @foo1 = alias i32* @bar
 @foo2 = alias i32* @bar
 @foo3 = alias i32* @foo2
+@foo4 = unnamed_addr alias i32* @foo2
+
+; Make sure the verifier does not complain about references to a global
+; declaration from an initializer.
+@decl = external global i32
+@ptr = global i32* @decl
+@ptr_a = alias i32** @ptr
 
 %FunTy = type i32()