| John McCall | b61e9d0 | 2009-11-07 09:03:53 +0000 | [diff] [blame^] | 1 | // RUN: clang-cc -fsyntax-only -verify -Wshorten-64-to-32 -triple x86_64-apple-darwin %s |
| 2 | |||||
| 3 | int test0(long v) { | ||||
| 4 | return v; // expected-warning {{implicit cast loses integer precision}} | ||||
| 5 | } | ||||