Richard Smith | dd25e80 | 2012-07-30 23:48:14 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm-only %s -std=c++11 |
2 | |||||
3 | // PR13479: don't crash with -fno-exceptions. | ||||
4 | namespace { | ||||
5 | struct SchedulePostRATDList { | ||||
6 | virtual ~SchedulePostRATDList(); | ||||
7 | }; | ||||
8 | |||||
9 | SchedulePostRATDList::~SchedulePostRATDList() {} | ||||
10 | |||||
11 | SchedulePostRATDList Scheduler; | ||||
12 | } |