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