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)); | |
~ ^ ~~~~~~~ | |