summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/destructor-exception-spec.cpp
blob: 579daef8541fe5abdafb38bb9c89d1c48e6e9a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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;
}
OpenPOWER on IntegriCloud