Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f05c05d2e1a2952e6cc7c3e54366fb8d99ff579c
/
.
/
test
/
Sema
/
incompatible-sign.c
blob: 9747327364be78469164d8885647279c6c5dfc3d [
file
] [
log
] [
blame
]
Eli Friedman
f05c05d
2009-03-22 23:59:44 +0000
[
diff
] [
blame^
]
1
// RUN: clang %s -verify -fsyntax-only
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