From: Eli Friedman Date: Tue, 1 Nov 2011 03:30:32 +0000 (+0000) Subject: Make test work with ARM C++ ABI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9f5b3363bc0edc314f0136cd66b22e545344fa5;p=clang Make test work with ARM C++ ABI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143425 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/special/class.copy/implicit-move-def.cpp b/test/CXX/special/class.copy/implicit-move-def.cpp index 94023cbc1d..5c54aea124 100644 --- a/test/CXX/special/class.copy/implicit-move-def.cpp +++ b/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_