blob: b925c09f85b9e71b83630552a70ea9f9f4ebd3ad [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
kernel void f() {
half a = 1.0h;
half b = 0.0h;
half const r = (a % b);
}
program_source:7:21: error: invalid operands to binary expression ('half' and 'half')
half const r = (a % b);
~ ^ ~