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

/external/clang/test/SemaCXX/
H A Dliteral-type.cpp40 class NonAggregate { int x; }; class
47 static_assert(__is_literal(NonAggregate), "fail");
H A Ddcl_init_aggr.cpp11 struct NonAggregate { struct
12 NonAggregate();
16 NonAggregate non_aggregate_test = { 1, 2 }; // expected-error{{non-aggregate type 'NonAggregate' cannot be initialized with an initializer list}}
18 NonAggregate non_aggregate_test2[2] = { { 1, 2 }, { 3, 4 } }; // expected-error 2 {{non-aggregate type 'NonAggregate' cannot be initialized with an initializer list}}
/external/clang/test/CXX/drs/
H A Ddr14xx.cpp295 struct NonAggregate { struct in namespace:dr1467::nonaggregate
296 NonAggregate() {} function in struct:dr1467::nonaggregate::NonAggregate
300 WantsIt(NonAggregate);
303 void f(NonAggregate);
307 NonAggregate n;
312 NonAggregate x;
313 NonAggregate y{x};
314 NonAggregate z{{x}};

Completed in 228 milliseconds