hanchenye-llvm-project/clang/test/CodeGenCXX/destructor-exception-spec.cpp

13 lines
271 B
C++

// RUN: %clang_cc1 -emit-llvm-only %s -std=c++11
// PR13479: don't crash with -fno-exceptions.
namespace {
struct SchedulePostRATDList {
virtual ~SchedulePostRATDList();
};
SchedulePostRATDList::~SchedulePostRATDList() {}
SchedulePostRATDList Scheduler;
}