Lines Matching full:arithmetic
7 b++; // expected-error {{arithmetic on a pointer to an incomplete type}} in a()
8 b += 1; // expected-error {{arithmetic on a pointer to an incomplete type}} in a()
9 c++; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} in a()
10 c += 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} in a()
11 c--; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} in a()
12 c -= 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} in a()
14 b = 1+b; // expected-error {{arithmetic on a pointer to an incomplete type}} in a()
17 …d += 1; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)'… in a()
18 …d++; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)'… in a()
19 …d--; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)'… in a()
20 …d -= 1; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)'… in a()
21 …(void)(1 + d); // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void… in a()
22 e++; // expected-error {{arithmetic on a pointer to an incomplete type}} in a()