1 // RUN: %clang_cc1 -std=c++11 -verify %s
3 struct NotAggregateBase
{};
5 struct A
: NotAggregateBase
{
7 A() = default; // expected-note {{here}}
9 A a
= {}; // expected-error {{calling a private constructor}}
11 struct B
: NotAggregateBase
{
12 explicit B() = default; // expected-note {{here}}
14 B b
= {}; // expected-error {{chosen constructor is explicit}}