summaryrefslogtreecommitdiff
path: root/test/SemaCXX/cxx11-gnu-attrs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/cxx11-gnu-attrs.cpp')
-rw-r--r--test/SemaCXX/cxx11-gnu-attrs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaCXX/cxx11-gnu-attrs.cpp b/test/SemaCXX/cxx11-gnu-attrs.cpp
index d20617815e6a..231be727714e 100644
--- a/test/SemaCXX/cxx11-gnu-attrs.cpp
+++ b/test/SemaCXX/cxx11-gnu-attrs.cpp
@@ -19,6 +19,7 @@ int *[[gnu::unused]] attr_on_ptr;
[[gnu::fastcall]] void pr17424_4() [[gnu::stdcall]];
// expected-warning@-1 {{calling convention 'fastcall' ignored for this target}}
// expected-warning@-2 {{attribute 'stdcall' ignored, because it cannot be applied to a type}}
+// expected-warning@-3 {{calling convention 'stdcall' ignored for this target}}
void pr17424_5 [[gnu::fastcall]]();
// expected-warning@-1 {{calling convention 'fastcall' ignored for this target}}