summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/virtual-override-x64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/virtual-override-x64.cpp')
-rw-r--r--clang/test/SemaCXX/virtual-override-x64.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/virtual-override-x64.cpp b/clang/test/SemaCXX/virtual-override-x64.cpp
index 5b9b2148f00..f3eaf11569c 100644
--- a/clang/test/SemaCXX/virtual-override-x64.cpp
+++ b/clang/test/SemaCXX/virtual-override-x64.cpp
@@ -6,7 +6,7 @@
namespace PR14339 {
class A {
public:
- virtual void __attribute__((thiscall)) f(); // expected-warning {{'thiscall' calling convention ignored for this target}}
+ virtual void __attribute__((thiscall)) f(); // expected-warning {{'thiscall' calling convention is not supported for this target}}
};
class B : public A {
@@ -16,7 +16,7 @@ namespace PR14339 {
class C : public A {
public:
- void __attribute__((thiscall)) f(); // expected-warning {{'thiscall' calling convention ignored for this target}}
+ void __attribute__((thiscall)) f(); // expected-warning {{'thiscall' calling convention is not supported for this target}}
};
class D : public A {
@@ -26,7 +26,7 @@ namespace PR14339 {
class E {
public:
- virtual void __attribute__((stdcall)) g(); // expected-warning {{'stdcall' calling convention ignored for this target}}
+ virtual void __attribute__((stdcall)) g(); // expected-warning {{'stdcall' calling convention is not supported for this target}}
};
class F : public E {
OpenPOWER on IntegriCloud