conversion-64-32.c revision a5728872c7702ddd09537c95bc3cbd20e1f2fb09
1// RUN: %clang_cc1 -fsyntax-only -verify -Wshorten-64-to-32 -triple x86_64-apple-darwin %s
2
3int test0(long v) {
4  return v; // expected-warning {{implicit cast loses integer precision}}
5}
6