Fix up scoping in a few tests (and delete one that validates unnecessary behavior).
[oota-llvm.git] / test / Feature / aliases.ll
index c3593852d71936efce55104c61bee618aab50cbd..ad1d1b08901c8710a57aedb2f08e932344dd35d9 100644 (file)
 @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()
 
 define i32 @foo_f() {