20 lines
344 B
Plaintext
20 lines
344 B
Plaintext
|
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);
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
Compilation failed:
|
||
|
|
||
|
program_source:7:22: error: invalid operands to binary expression ('const float' and 'const float')
|
||
|
float const r = (a % b);
|
||
|
~ ^ ~
|
||
|
|
||
|
|