blob: 347f2153433b8b05b6f2720c8da27633e93aa296 [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 + b));
}
program_source:7:21: error: invalid operands to binary expression ('half' and 'half')
half const r = (a % (b + b));
~ ^ ~~~~~~~