Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
Eli Friedman | 80160bd | 2009-03-22 23:59:44 +0000 | [diff] [blame] | 2 | |
3 | int a(int* x); | ||||
4 | int b(unsigned* y) { return a(y); } // expected-warning {{pointer types point to integer types with different sign}} | ||||
5 |