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

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/
H A Dp1-0x.cpp5 struct Aggr { struct
12 bool &br; // expected-note {{default constructor of 'Aggr' is implicitly deleted because field 'br' of reference type 'bool &' would not be initialized}}
15 Aggr ag = { b };
56 struct NonAggr5 : Aggr { // expected-note 3 {{candidate constructor}}
60 struct MaybeAggr5a : BaseList... {}; // expected-note {{default constructor of 'MaybeAggr5a<Aggr>' is implicitly deleted because base class 'Aggr' has a deleted default constructor}}
62 MaybeAggr5a<Aggr> ma5a1 = {}; // expected-error {{call to implicitly-deleted default constructor of 'MaybeAggr5a<Aggr>'}}
/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}}

Completed in 1476 milliseconds