blob: 366cfc31651213ca1ebc792031d4010a5a700288 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint4 myvar = 0u;
void main_1() {
myvar[2u] = 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;
^