Searched defs:Aggr (Results 1 - 3 of 3) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/
H A Dp1.cpp6 struct Aggr { struct
16 Aggr ag = { b };
57 struct NonAggr5 : Aggr {
67 MaybeAggr5a<Aggr> ma5a1 = {}; // ok in C++17
71 // expected-error@-4 {{call to implicitly-deleted default constructor of 'MaybeAggr5a<Aggr>'}}
72 // expected-note@-7 {{default constructor of 'MaybeAggr5a<Aggr>' is implicitly deleted because base class 'Aggr' has a deleted default constructor}}
73 // expected-note@13 {{default constructor of 'Aggr' is implicitly deleted because field 'br' of reference type 'bool &' would not be initialized}}
81 struct NonAggr5b : virtual Aggr {}; // expected-note 3{{candidate}}
85 struct NonAggr5d : protected Aggr {}; // expecte
[all...]
/external/clang/test/SemaCXX/
H A Dcxx0x-initializer-aggregates.cpp104 struct Aggr { struct in namespace:sub_constructor
110 Aggr ok1 { {}, {0} , {0,0} };
111 Aggr ok2 = { {}, {0} , {0,0} };
112 Aggr too_many { {0} , {0} , {0,0} }; // expected-error {{no matching constructor for initialization}}
113 Aggr too_few { {} , {0} , {0} }; // expected-error {{no matching constructor for initialization}}
114 Aggr invalid { {} , {&ok1} , {0,0} }; // expected-error {{no matching constructor for initialization}}
/external/clang/test/CXX/drs/
H A Ddr15xx.cpp193 struct Aggr { int i; int j; }; struct in namespace:dr1591
194 template<int N> int k(Aggr const(&)[N]); //expected-note{{not viable}}
202 int X1 = n({{1},{2},{3}},Aggr()); // OK, T is Aggr, N is 3

Completed in 1084 milliseconds