aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/conversion-64-32.c
blob: 53830fd061c450210b00e14825b321cb33e2667d (plain)
1
2
3
4
5
// RUN: clang-cc -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}}
}