Home | History | Annotate | Download | only in dcl.fct.def.default

Lines Matching refs:S4

41 struct S4 {
42 S4() = default;
43 S4(const S4&) = default; // expected-note {{here}}
44 S4(S4&&) = default; // expected-note {{here}}
47 constexpr S4 s4a{}; // ok
48 constexpr S4 s4b = S4(); // expected-error {{constant expression}} expected-note {{non-constexpr constructor}}
49 constexpr S4 s4c = s4a; // expected-error {{constant expression}} expected-note {{non-constexpr constructor}}