blob: 7d52cb3d6c71d74b63e260404e612b78ae1cedb2 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
kernel void f() {
half4 const a = half4(1.0h, 2.0h, 3.0h, -4.0h);
int2 const b = as_type<int2>(a);
}