Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
730e175910936eae49e65caea8b2ba81c67edff7
/
.
/
test
/
Sema
/
conversion-64-32.c
blob: aa7282962f8e698d4aeeccee6e6ef081658d7480 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -Wshorten-64-to-32 -triple x86_64-apple-darwin %s
int
test0
(
long
v
)
{
return
v
;
// expected-warning {{implicit conversion loses integer precision}}
}