blob: 399165555a154d941cbe472971bb6248fd26c9ce [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint3 u = uint3(1u);
void f() {
float3 const v = float3(u);
}
program_source:4:14: error: program scope variable must reside in constant address space
thread uint3 u = uint3(1u);
^
program_source:6:16: warning: unused variable 'v' [-Wunused-variable]
float3 const v = float3(u);
^