1 // RUN: %clang_cc1 -triple=x86_64-pc-unknown -fsyntax-only -verify %s
3 // Non-x86 targets ignore the calling conventions by default (but will warn
4 // when one is encountered), so we want to make sure the virtual overrides
9 virtual void __attribute__((thiscall
)) f(); // expected-warning {{'thiscall' calling convention is not supported for this target}}
14 void __attribute__((cdecl)) f();
19 void __attribute__((thiscall
)) f(); // expected-warning {{'thiscall' calling convention is not supported for this target}}
29 virtual void __attribute__((stdcall)) g(); // expected-warning {{'stdcall' calling convention is not supported for this target}}