Searched refs:non_triv (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Ddiscrim-union.cpp110 struct non_triv { struct
111 constexpr non_triv() : n(5) {} function in struct:non_triv
114 constexpr either<const icd*, non_triv> icd4 = a<const icd*>(&icd2);
115 constexpr either<const icd*, non_triv> icd5 = a<non_triv>();
118 static_assert(icd5.get<non_triv>().n == 5, "");

Completed in 164 milliseconds