1 // RUN: %clang_cc1 -fsyntax-only -verify -Wshorten-64-to-32 -triple x86_64-apple-darwin %s
4 return v
; // expected-warning {{implicit conversion loses integer precision}}
7 typedef int int4
__attribute__ ((vector_size(16)));
8 typedef long long long2
__attribute__((__vector_size__(16)));
11 int4 v127
= a
; // no warning.
16 return v
/ 2; // expected-warning {{implicit conversion loses integer precision: 'long' to 'int'}}
20 return s
* 2; // no warning.