summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/decl-ref-init.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-12 12:51:05 +0000
committerTim Northover <tnorthover@apple.com>2013-08-12 12:51:05 +0000
commit931a4feb64f18190d189c222d61b2abf52f18ab8 (patch)
treecfee240f5e5c26219d52c6bd14347e133a99116c /test/CodeGenCXX/decl-ref-init.cpp
parent53352600b7370b1d33b9fde1adda207fd9d7dcd1 (diff)
downloadclang-931a4feb64f18190d189c222d61b2abf52f18ab8.tar.gz
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/cfe/trunk@188174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/decl-ref-init.cpp')
-rw-r--r--test/CodeGenCXX/decl-ref-init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/decl-ref-init.cpp b/test/CodeGenCXX/decl-ref-init.cpp
index a066fbb3f3..1a82ee2b48 100644
--- a/test/CodeGenCXX/decl-ref-init.cpp
+++ b/test/CodeGenCXX/decl-ref-init.cpp
@@ -1,8 +1,8 @@
// REQUIRES: x86-registered-target,x86-64-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
-// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
+// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
-// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
+// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
struct A {};