summaryrefslogtreecommitdiff
path: root/test/Assembler/2007-08-06-AliasInvalid.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2007-08-06-AliasInvalid.ll')
-rw-r--r--test/Assembler/2007-08-06-AliasInvalid.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Assembler/2007-08-06-AliasInvalid.ll b/test/Assembler/2007-08-06-AliasInvalid.ll
index b54acec1c9..9409598246 100644
--- a/test/Assembler/2007-08-06-AliasInvalid.ll
+++ b/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
}