diff options
Diffstat (limited to 'llvm/test/Feature/aliases.ll')
| -rw-r--r-- | llvm/test/Feature/aliases.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Feature/aliases.ll b/llvm/test/Feature/aliases.ll index c3593852d71..ad1d1b08901 100644 --- a/llvm/test/Feature/aliases.ll +++ b/llvm/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() { |

