[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / ms-unsupported.cpp
blob559d703f36734fd832aeaa0e39ae228c67e14582
1 // RUN: %clang_cc1 -triple x86_64-pc-windows-gnu %s -fsyntax-only -verify -fms-extensions -Wno-microsoft -std=c++11
3 // "novtable" is ignored except with the Microsoft C++ ABI.
4 // MinGW uses the Itanium C++ ABI so check that it is ignored there.
5 struct __declspec(novtable) S {}; // expected-warning{{__declspec attribute 'novtable' is not supported}}