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