blob: a0c6ee947275eee39c0706091473d4aefb632a93 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
threadgroup float3x3 v;
float3x3 foo() {
threadgroup_barrier(mem_flags::mem_threadgroup);
float3x3 const v_1 = v;
threadgroup_barrier(mem_flags::mem_threadgroup);
return v_1;
}
program_source:4:22: error: program scope variable must reside in constant address space
threadgroup float3x3 v;
^