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

Lines Matching refs:S3

29 struct S3 {
30 S3() = default;
31 S3(const S3&) = default;
32 S3(S3&&) = default;
33 constexpr S3(int n) : n(n) {}
36 constexpr S3 s3a = S3(0);
37 constexpr S3 s3b = s3a;
38 constexpr S3 s3c = S3();
39 constexpr S3 s3d; // expected-error {{default initialization of an object of const type 'const S3' requires a user-provided default constructor}}