7 lines
194 B
C
7 lines
194 B
C
|
// RUN: clang-cc -emit-pch -o %t %S/variables.h &&
|
||
|
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
|
||
|
|
||
|
int *ip2 = &x;
|
||
|
float *fp = &ip; // expected-warning{{incompatible pointer types}}
|
||
|
|