diff options
Diffstat (limited to 'test/CodeGenCXX/virtual-function-calls.cpp')
-rw-r--r-- | test/CodeGenCXX/virtual-function-calls.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/virtual-function-calls.cpp b/test/CodeGenCXX/virtual-function-calls.cpp index e1b380f..0a6fc6b 100644 --- a/test/CodeGenCXX/virtual-function-calls.cpp +++ b/test/CodeGenCXX/virtual-function-calls.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -std=c++11 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple %itanium_abi_triple -std=c++11 -emit-llvm -o - | FileCheck %s // PR5021 namespace PR5021 { @@ -8,7 +8,7 @@ struct A { }; void f(A *a) { - // CHECK: call void % + // CHECK: call {{.*}}void % a->f('c'); } @@ -45,7 +45,7 @@ namespace VirtualNoreturn { // CHECK: @_ZN15VirtualNoreturn1f void f(A *p) { p->f(); - // CHECK: call void %{{[^#]*$}} + // CHECK: call {{.*}}void %{{[^#]*$}} // CHECK-NOT: unreachable } } |