blob: deec3d5cc5266b57377006732e08c9e7e44acbbb [file] [log] [blame]
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 = {};
^