From 3ba20c15713909504ef6578364b410035d20a93f Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 1 Nov 2011 03:30:32 +0000 Subject: [PATCH] Make test work with ARM C++ ABI. llvm-svn: 143425 --- .../special/class.copy/implicit-move-def.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/clang/test/CXX/special/class.copy/implicit-move-def.cpp b/clang/test/CXX/special/class.copy/implicit-move-def.cpp index 94023cbc1d7b..5c54aea12443 100644 --- a/clang/test/CXX/special/class.copy/implicit-move-def.cpp +++ b/clang/test/CXX/special/class.copy/implicit-move-def.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -o - -std=c++11 %s | FileCheck -check-prefix=CHECK-ASSIGN %s +// RUN: %clang_cc1 -emit-llvm -o - -std=c++11 %s | FileCheck -check-prefix=CHECK-ASSIGN %s // RUN: %clang_cc1 -emit-llvm -o - -std=c++11 %s | FileCheck -check-prefix=CHECK-CTOR %s // construct @@ -96,21 +97,21 @@ void move_VirtualWithEmptyBase(VirtualWithEmptyBase &x, VirtualWithEmptyBase &y) // CHECK-ASSIGN: define linkonce_odr {{.*}} @_ZN20VirtualWithEmptyBaseaSEOS_ // CHECK-ASSIGN: store // CHECK-ASSIGN-NEXT: store -// CHECK-NOT: call -// CHECK: ret +// CHECK-ASSIGN-NOT: call +// CHECK-ASSIGN: ret // CHECK-ASSIGN: define linkonce_odr {{.*}} @_ZN1CaSEOS_ // CHECK-ASSIGN: call {{.*}} @_ZN1AaSEOS_ // move ctors -// CHECK-CTOR: define linkonce_odr void @_ZN1HC2EOS_ -// CHECK-CTOR: call void @_ZN1GC2EOS_ -// CHECK-CTOR: call void @_ZN1FC1EOS_ -// CHECK-CTOR: call void @_ZN1EC1EOS_ +// CHECK-CTOR: define linkonce_odr {{.*}} @_ZN1HC2EOS_ +// CHECK-CTOR: call {{.*}} @_ZN1GC2EOS_ +// CHECK-CTOR: call {{.*}} @_ZN1FC1EOS_ +// CHECK-CTOR: call {{.*}} @_ZN1EC1EOS_ // array loop // CHECK-CTOR: br i1 -// CHECK-CTOR: call void @_ZN1FC1EOS_ +// CHECK-CTOR: call {{.*}} @_ZN1FC1EOS_ -// CHECK-CTOR: define linkonce_odr void @_ZN1GC2EOS_ -// CHECK-CTOR: call void @_ZN1EC1EOS_ +// CHECK-CTOR: define linkonce_odr {{.*}} @_ZN1GC2EOS_ +// CHECK-CTOR: call {{.*}} @_ZN1EC1EOS_