Home
last modified time | relevance | path

Searched refs:non_trivial_constructor (Results 1 – 2 of 2) sorted by relevance

/llvm-project/clang/test/CodeGen/
H A Dunion-non-trivial-member.cpp3 struct non_trivial_constructor { struct
4 constexpr non_trivial_constructor() : x(100) { } in non_trivial_constructor() function
10 non_trivial_constructor b; argument
15 non_trivial_constructor b{};
/llvm-project/clang/test/SemaCXX/
H A Dcxx0x-nontrivial-union.cpp150 struct non_trivial_constructor { struct
151 constexpr non_trivial_constructor() : x(100) {} in non_trivial_constructor() argument
158 non_trivial_constructor b; // expected-note {{has a non-trivial default constructor}}
163 non_trivial_constructor b;
168 non_trivial_constructor b{};
173 non_trivial_constructor b{}; // expected-error {{initializing multiple members of union}}