diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
commit | 486754660bb926339aefcf012a3f848592babb8b (patch) | |
tree | ecdbc446c9876f4f120f701c243373cd3cb43db3 /test/SemaCXX/cxx11-gnu-attrs.cpp | |
parent | 55e6d896ad333f07bb3b1ba487df214fc268a4ab (diff) |
Notes
Diffstat (limited to 'test/SemaCXX/cxx11-gnu-attrs.cpp')
-rw-r--r-- | test/SemaCXX/cxx11-gnu-attrs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/SemaCXX/cxx11-gnu-attrs.cpp b/test/SemaCXX/cxx11-gnu-attrs.cpp index 231be727714e8..b020d2ae2939c 100644 --- a/test/SemaCXX/cxx11-gnu-attrs.cpp +++ b/test/SemaCXX/cxx11-gnu-attrs.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++11 -verify %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++11 -Wno-gcc-compat -verify %s // Error cases. @@ -18,8 +18,7 @@ int *[[gnu::unused]] attr_on_ptr; // expected-warning@-2 {{calling convention '__stdcall' ignored for this target}} [[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}} +// expected-warning@-2 {{calling convention 'stdcall' ignored for this target}} void pr17424_5 [[gnu::fastcall]](); // expected-warning@-1 {{calling convention 'fastcall' ignored for this target}} |