Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:bad_decls

38 struct bad_decls {
39 bad_decls(volatile bad_decls&) = default; // expected-error {{may not be volatile}}
40 bad_decls&& operator = (bad_decls) = default; // expected-error {{lvalue reference}} expected-error {{must return 'bad_decls &'}}
41 bad_decls& operator = (volatile bad_decls&) = default; // expected-error {{may not be volatile}}
42 bad_decls& operator = (const bad_decls&) const = default; // expected-error {{may not have 'const', 'constexpr' or 'volatile' qualifiers}}