#include using namespace metal; kernel void f() { int const a = 1; uint const b = 2u; int const r = as_type((as_type(a) << (b & 31u))); return; }