SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
thread int I = 0; | |
void main_1() { | |
int const x_11 = (I + 1); | |
} | |
kernel void tint_symbol() { | |
main_1(); | |
} | |
program_source:4:12: error: program scope variable must reside in constant address space | |
thread int I = 0; | |
^ | |
program_source:6:13: warning: unused variable 'x_11' [-Wunused-variable] | |
int const x_11 = (I + 1); | |
^ | |