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