[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / destructor-exception-spec.cpp
blob50c17ef4aa10ce28a7839bcefa9fbebc70ffed6f
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only %s -std=c++11
2 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only -fno-use-cxa-atexit %s -std=c++11
3 // RUN: %clang_cc1 -triple %ms_abi_triple -fno-rtti -emit-llvm-only %s -std=c++11
5 // PR13479: don't crash with -fno-exceptions.
6 namespace {
7 struct SchedulePostRATDList {
8 virtual ~SchedulePostRATDList();
9 };
11 SchedulePostRATDList::~SchedulePostRATDList() {}
13 SchedulePostRATDList Scheduler;