Hans Wennborg | c9bd88e | 2014-01-14 19:35:09 +0000 | [diff] [blame] | 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 |
Richard Smith | 7f78227 | 2012-07-30 23:48:14 +0000 | [diff] [blame] | 4 | |
| 5 | // PR13479: don't crash with -fno-exceptions. |
| 6 | namespace { |
| 7 | struct SchedulePostRATDList { |
| 8 | virtual ~SchedulePostRATDList(); |
| 9 | }; |
| 10 | |
| 11 | SchedulePostRATDList::~SchedulePostRATDList() {} |
| 12 | |
| 13 | SchedulePostRATDList Scheduler; |
| 14 | } |