kernelvoidfoo1(float2in,globalfloat2*out){*out=in+0.5;} // expected-error {{scalar operand type has greater rank than the type of the vector element. ('float2' (vector of 2 'float' values) and 'double')}}
kernelvoidfoo2(float2in,globalfloat2*out){*out=0.5+in;} // expected-error {{scalar operand type has greater rank than the type of the vector element. ('double' and 'float2' (vector of 2 'float' values))}}