blob: 0d8d31918452a4c381365c2a0a80caa94aee90ea [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint4 myvar = 0u;
thread uint4 x_10 = 0u;
void main_1() {
uint const a_dynamic_index = x_10[2u];
myvar[a_dynamic_index] = 42u;
}
fragment void tint_symbol() {
main_1();
}
program_source:4:14: error: program scope variable must reside in constant address space
thread uint4 myvar = 0u;
^
program_source:5:14: error: program scope variable must reside in constant address space
thread uint4 x_10 = 0u;
^