summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/member-function-pointer-calls.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
commit93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch)
tree938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGenCXX/member-function-pointer-calls.cpp
parent233fbe1f56183878167a56be53425a6dd25ba334 (diff)
downloadclang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.gz
clang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.bz2
clang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.xz
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/member-function-pointer-calls.cpp')
-rw-r--r--test/CodeGenCXX/member-function-pointer-calls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/member-function-pointer-calls.cpp b/test/CodeGenCXX/member-function-pointer-calls.cpp
index f8960aac52..99162ebd58 100644
--- a/test/CodeGenCXX/member-function-pointer-calls.cpp
+++ b/test/CodeGenCXX/member-function-pointer-calls.cpp
@@ -8,14 +8,14 @@ int f(A* a, int (A::*fp)()) {
return (a->*fp)();
}
-// CHECK: define i32 @_Z2g1v()
+// CHECK-LABEL: define i32 @_Z2g1v()
// CHECK: ret i32 1
int g1() {
A a;
return f(&a, &A::vf1);
}
-// CHECK: define i32 @_Z2g2v()
+// CHECK-LABEL: define i32 @_Z2g2v()
// CHECK: ret i32 2
int g2() {
A a;