aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2006-12-12-IntrinsicDefine.ll
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-03-16 07:55:46 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-03-16 07:55:46 +0000
commit3f63785cc6a89e251855a8dad4fa7b1f2ea189cd (patch)
tree281460d4620184811b7c2d0f62036ff6059d62ad /test/Verifier/2006-12-12-IntrinsicDefine.ll
parent917a5d94253cead6e6e6279d92b1191ebd90d602 (diff)
downloadexternal_llvm-3f63785cc6a89e251855a8dad4fa7b1f2ea189cd.zip
external_llvm-3f63785cc6a89e251855a8dad4fa7b1f2ea189cd.tar.gz
external_llvm-3f63785cc6a89e251855a8dad4fa7b1f2ea189cd.tar.bz2
All of these tests had out of date syntax and were never even running through
llvm-upgrade because nobody noticed them failing. Update to use new syntax and actually check for the right failure by looking at the error message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier/2006-12-12-IntrinsicDefine.ll')
-rw-r--r--test/Verifier/2006-12-12-IntrinsicDefine.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Verifier/2006-12-12-IntrinsicDefine.ll b/test/Verifier/2006-12-12-IntrinsicDefine.ll
index a7fe274..b63ae65 100644
--- a/test/Verifier/2006-12-12-IntrinsicDefine.ll
+++ b/test/Verifier/2006-12-12-IntrinsicDefine.ll
@@ -1,7 +1,7 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s |& grep {llvm intrinsics cannot be defined}
; PR1047
-void %llvm.memcpy.i32(sbyte*, sbyte*, uint, uint) {
+define void @llvm.memcpy.i32(i8*, i8*, i32, i32) {
entry:
ret void
}