blob: c82764ccaed16071c9fd01faba77dca4b83235cb [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
struct S {
uint3 v;
};
thread S P = {};
void f() {
P.v = uint3(1u, 2u, 3u);
P.v[0u] = 1u;
P.v[1u] = 2u;
P.v[2u] = 3u;
}
program_source:7:10: error: program scope variable must reside in constant address space
thread S P = {};
^