Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
b83d4d7071cea43a3f7b8afc3cda6203c345aa0f
/
.
/
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}}
}