1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -verify -DEXPECTWARNING %s
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -verify -Wno-pointer-integer-compare %s
5 // expected-warning@+6 {{comparison between pointer and integer ('int' and 'int *')}}
7 // expected-no-diagnostics
10 int test_ext_typecheck_comparison_of_pointer_integer(int integer
, int * pointer
) {
11 return integer
!= pointer
;