aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/member-functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/member-functions.cpp')
-rw-r--r--test/CodeGenCXX/member-functions.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGenCXX/member-functions.cpp b/test/CodeGenCXX/member-functions.cpp
index 1773c67fc863..58f709c333b4 100644
--- a/test/CodeGenCXX/member-functions.cpp
+++ b/test/CodeGenCXX/member-functions.cpp
@@ -16,7 +16,7 @@ void test1() {
// CHECK: call void @_ZN1C1fEv
c.f();
- // CHECK: call void (%struct.C*, i32, ...)* @_ZN1C1gEiz
+ // CHECK: call void (%struct.C*, i32, ...) @_ZN1C1gEiz
c.g(1, 2, 3);
}
@@ -74,12 +74,11 @@ void test3() {
T result = t1 + t2;
}
-// S::~S()
-// CHECK: define linkonce_odr void @_ZN1SD2Ev{{.*}} unnamed_addr
-
// S::S()
// CHECK: define linkonce_odr void @_ZN1SC2Ev{{.*}} unnamed_addr
// S::v()
// CHECK: define linkonce_odr void @_ZN1S1vEv{{.*}}unnamed_addr
+// S::~S()
+// CHECK: define linkonce_odr void @_ZN1SD2Ev{{.*}} unnamed_addr