diff options
Diffstat (limited to 'llvm/test/Assembler/2007-08-06-AliasInvalid.ll')
-rw-r--r-- | llvm/test/Assembler/2007-08-06-AliasInvalid.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/Assembler/2007-08-06-AliasInvalid.ll b/llvm/test/Assembler/2007-08-06-AliasInvalid.ll index b54acec1c94..94095982468 100644 --- a/llvm/test/Assembler/2007-08-06-AliasInvalid.ll +++ b/llvm/test/Assembler/2007-08-06-AliasInvalid.ll @@ -1,7 +1,9 @@ -; RUN: not llvm-as < %s > /dev/null |& grep {Invalid type for reference to global} +; RUN: not llvm-as < %s > /dev/null |& grep {expected top-level entity} ; PR1577 -@anInt = global i32 1 alias i32 @anAlias +@anInt = global i32 1 +alias i32 @anAlias + define i32 @main() { ret i32 0 } |