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