blob: 4e7e3dda307677843666940ca17726f9aaa457fc [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
kernel void f() {
half const a = 4.0h;
half3 const b = half3(1.0h, 2.0h, 3.0h);
half3 const r = (a % b);
}
program_source:7:22: error: invalid operands to binary expression ('const half' and 'const half3' (vector of 3 'half' values))
half3 const r = (a % b);
~ ^ ~