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.cpp4 struct Aggr { struct
11 bool &br; // expected-note {{default constructor of 'Aggr' is implicitly deleted because field 'br' of reference type 'bool &' would not be initialized}}
14 Aggr ag = { b };
53 struct NonAggr5 : Aggr { // expected-note 3 {{candidate constructor}}
57 struct MaybeAggr5a : BaseList... {}; // expected-note {{default constructor of 'MaybeAggr5a<Aggr>' is implicitly deleted because base class 'Aggr' has a deleted default constructor}}
59 MaybeAggr5a<Aggr> ma5a1 = {}; // expected-error {{call to implicitly-deleted default constructor of 'MaybeAggr5a<Aggr>'}}
/external/clang/test/SemaCXX/
H A Dcxx0x-initializer-aggregates.cpp105 struct Aggr { struct in namespace:sub_constructor
111 Aggr ok1 { {}, {0} , {0,0} };
112 Aggr ok2 = { {}, {0} , {0,0} };
113 Aggr too_many { {0} , {0} , {0,0} }; // expected-error {{no matching constructor for initialization}}
114 Aggr too_few { {} , {0} , {0} }; // expected-error {{no matching constructor for initialization}}
115 Aggr invalid { {} , {&ok1} , {0,0} }; // expected-error {{no matching constructor for initialization}}

Completed in 65 milliseconds