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