aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-05 17:29:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-05 17:29:41 +0000
commit280e6467c3daf0d8c0055c36b40a6e18c6abb2c8 (patch)
treea44f9bff89da4c36b7a18b9ead2e8bf9ee5be78a /test
parent2fd6c65010b510d3bd3f15780f2237a8eb76cc4c (diff)
downloadexternal_llvm-280e6467c3daf0d8c0055c36b40a6e18c6abb2c8.zip
external_llvm-280e6467c3daf0d8c0055c36b40a6e18c6abb2c8.tar.gz
external_llvm-280e6467c3daf0d8c0055c36b40a6e18c6abb2c8.tar.bz2
Make this test that we can drop the implementation keyword for llvm-as.
llvm-upgrade is irrelevant for this test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Assembler/2002-05-02-ParseError.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Assembler/2002-05-02-ParseError.ll b/test/Assembler/2002-05-02-ParseError.ll
index 22bcbc0..d63784b 100644
--- a/test/Assembler/2002-05-02-ParseError.ll
+++ b/test/Assembler/2002-05-02-ParseError.ll
@@ -1,10 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
+; RUN: llvm-as %s -o /dev/null -f
; This should parse correctly without an 'implementation', but our current YACC
; based parser doesn't have the required 2 token lookahead...
-%T = type int *
+%T = type i32 *
-%T %test() {
+define %T %test() {
ret %T null
}