From 7418e1f4bd5a4bda32af18f46ff2837221d12d5c Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Thu, 12 Jun 2014 21:37:30 +0000 Subject: Move test for r210734 to Feature/aliases.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210833 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/aliases.ll | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Feature') diff --git a/test/Feature/aliases.ll b/test/Feature/aliases.ll index c3593852d7..ad1d1b0890 100644 --- a/test/Feature/aliases.ll +++ b/test/Feature/aliases.ll @@ -10,6 +10,12 @@ @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() { -- cgit v1.2.3