SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
thread int I = 0; | |
void main_1() { | |
I = 123; | |
I = 123; | |
} | |
kernel void tint_symbol() { | |
main_1(); | |
} | |
program_source:4:12: error: program scope variable must reside in constant address space | |
thread int I = 0; | |
^ | |