summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionAttrs
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-12 12:43:26 +0000
committerTim Northover <tnorthover@apple.com>2013-08-12 12:43:26 +0000
commitdcef6a7400d51526a04a18e274bd579da262e9ad (patch)
tree878fd1edc4e37032db94525bb0ecf4f04e2ab6f2 /test/Transforms/FunctionAttrs
parent655abf57edcc9954428ac405905005f82091add5 (diff)
downloadllvm-dcef6a7400d51526a04a18e274bd579da262e9ad.tar.gz
llvm-dcef6a7400d51526a04a18e274bd579da262e9ad.tar.bz2
llvm-dcef6a7400d51526a04a18e274bd579da262e9ad.tar.xz
Fix FileCheck --check-prefix lines.
Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/FunctionAttrs')
-rw-r--r--test/Transforms/FunctionAttrs/annotate-1.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/FunctionAttrs/annotate-1.ll b/test/Transforms/FunctionAttrs/annotate-1.ll
index adb7bce57f..9fba7a9f28 100644
--- a/test/Transforms/FunctionAttrs/annotate-1.ll
+++ b/test/Transforms/FunctionAttrs/annotate-1.ll
@@ -1,5 +1,5 @@
; RUN: opt < %s -functionattrs -S | FileCheck %s
-; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -functionattrs -S | FileCheck -check-prefix=POSIX %s
+; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -functionattrs -S | FileCheck -check-prefix=CHECK-POSIX %s
declare i8* @fopen(i8*, i8*)
; CHECK: declare noalias i8* @fopen(i8* nocapture readonly, i8* nocapture readonly) [[G0:#[0-9]]]