blob: 812cbe63a32267f61c5ff2d85f1a624f69ecaf81 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
kernel void f() {
half const a = 1.0h;
half const b = 2.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);
~ ^ ~