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