summaryrefslogtreecommitdiffstats
path: root/test/Sema/incompatible-sign.c
blob: a62f9a8ba70990fae302e199f8753e4c889dfd00 (plain)
1
2
3
4
5
// RUN: clang-cc %s -verify -fsyntax-only

int a(int* x);
int b(unsigned* y) { return a(y); } // expected-warning {{pointer types point to integer types with different sign}}

OpenPOWER on IntegriCloud