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

/external/clang/test/SemaCXX/
H A Daggregate-initialization.cpp80 Agg agg1; member in class:AggAgg
H A Dconstant-expression-cxx11.cpp607 constexpr AggregateInit agg1 = { "hello"[0] }; variable
609 static_assert(strcmp_ce(&agg1.c, "hello") == 0, "");
610 static_assert(agg1.n == 0, "");
611 static_assert(agg1.d == 0.0, "");
612 static_assert(agg1.arr[-1] == 0, ""); // expected-error {{constant expression}} expected-note {{cannot refer to element -1}}
613 static_assert(agg1.arr[0] == 0, "");
614 static_assert(agg1.arr[4] == 0, "");
615 static_assert(agg1.arr[5] == 0, ""); // expected-error {{constant expression}} expected-note {{read of dereferenced one-past-the-end}}
616 static_assert(agg1.p == nullptr, "");
/external/llvm/test/Bindings/Ocaml/
H A Dvmcore.ml1212 let agg1 = build_insertvalue agg0 (const_int i8_type 2) 1 var
1214 ignore (build_extractvalue agg1 1 "build_extractvalue" atentry)

Completed in 205 milliseconds