brintos

brintos / llvm-project-archived public Read only

0
0
Text · 478 B · 50c17ef Raw
15 lines · cpp
1// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only %s -std=c++112// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only -fno-use-cxa-atexit %s -std=c++113// RUN: %clang_cc1 -triple %ms_abi_triple -fno-rtti -emit-llvm-only %s -std=c++114 5// PR13479: don't crash with -fno-exceptions.6namespace {7  struct SchedulePostRATDList {8    virtual ~SchedulePostRATDList();9  };10 11  SchedulePostRATDList::~SchedulePostRATDList() {}12 13  SchedulePostRATDList Scheduler;14}15