Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
01e56aecb77a96dcd93fa0e901b919f2e441981d
/
.
/
test
/
Sema
/
incompatible-sign.c
blob: b3c1e9a44e826054b0b7272e90a16957a6c2cb21 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -verify -fsyntax-only
int
a
(
int
*
x
);
int
b
(
unsigned
*
y
)
{
return
a
(
y
);
}
// expected-warning {{passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign}}