1 // RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
4 void f(int i
, float f
, bool b
, char c
, int* pi
, T
* pt
) {
9 (void)(i
*pi
); // expected-error {{invalid operands to binary expression}}
10 (void)(i
*pt
); // FIXME
16 (void)(i
/pi
); // expected-error {{invalid operands to binary expression}}
17 (void)(i
/pt
); // FIXME
23 (void)(i
-pi
); // expected-error {{invalid operands to binary expression}}
24 (void)(i
-pt
); // FIXME
30 (void)(i
<pi
); // expected-error {{comparison between pointer and integer}}
31 (void)(i
<pt
); // FIXME
37 (void)(i
==pi
); // expected-error {{comparison between pointer and integer}}
38 (void)(i
==pt
); // FIXME