Douglas Gregor | ef84c4b | 2009-04-09 22:27:44 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -emit-pch -o %t %S/variables.h && |
2 | // RUN: clang-cc -include-pch %t -fsyntax-only -verify %s | ||||
3 | |||||
4 | int *ip2 = &x; | ||||
5 | float *fp = &ip; // expected-warning{{incompatible pointer types}} | ||||
6 |