1 // RUN: %clang_cc1 %s -fcxx-exceptions -fsyntax-only -Wexceptions -verify -std=c++14
3 // expected-no-diagnostics
5 __attribute__((nothrow
)) Base() {}
8 struct Derived
: Base
{
9 Derived() noexcept
= default;
16 struct Derived2
: Base2
{
17 __attribute__((nothrow
)) Derived2() = default;
21 __attribute__((nothrow
)) Base3() {}
24 struct Derived3
: Base3
{
25 __attribute__((nothrow
)) Derived3() = default;