Lines Matching full:have
3 void f0() &; // expected-error {{non-member function cannot have '&' qualifier}}
4 void f1() &&; // expected-error {{non-member function cannot have '&&' qualifier}}
5 void f2() const volatile &&; // expected-error {{non-member function cannot have 'const volatile &&' qualifier}}
10 static void f2() &; // expected-error{{static member function cannot have '&' qualifier}}
11 static void f3() &&; // expected-error{{static member function cannot have '&&' qualifier}}
17 typedef func_type_lvalue *func_type_lvalue_ptr; // expected-error{{pointer to function type 'func_type_lvalue' (aka 'void () &') cannot have '&' qualifier}}
18 typedef func_type_rvalue *func_type_rvalue_ptr; // expected-error{{pointer to function type 'func_type_rvalue' (aka 'void () &&') cannot have '&&' qualifier}}
20 typedef func_type_lvalue &func_type_lvalue_ref; // expected-error{{reference to function type 'func_type_lvalue' (aka 'void () &') cannot have '&' qualifier}}
21 typedef func_type_rvalue &func_type_rvalue_ref; // expected-error{{reference to function type 'func_type_rvalue' (aka 'void () &&') cannot have '&&' qualifier}}
41 func_type_lvalue f2; // expected-error{{non-member function of type 'func_type_lvalue' (aka 'void () &') cannot have '&' qualifier}}
42 func_type_rvalue f3; // expected-error{{non-member function of type 'func_type_rvalue' (aka 'void () &&') cannot have '&&' qualifier}}
53 void (f() &&); // expected-error{{non-member function cannot have '&&' qualifier}}