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