SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
int i; | |
}; | |
thread S V = {}; | |
void main_1() { | |
int i = 0; | |
i = V.i; | |
} | |
kernel void tint_symbol() { | |
main_1(); | |
} | |
program_source:7:10: error: program scope variable must reside in constant address space | |
thread S V = {}; | |
^ | |