summaryrefslogtreecommitdiff
path: root/test/Sema/incompatible-sign.c
blob: a1592efc4c47d6ccabf9df3d9acf28ca4fbc89cb (plain)
1
2
3
4
5
// RUN: %clang_cc1 %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}}