Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
ff6f66e33f234d4bba16c9149476d691e2c96ca9
/
.
/
test
/
Sema
/
conversion-64-32.c
blob: 104399641d2805e0f0e1cc7ab2beaa01c7a02540 [
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 cast loses integer precision}}
}