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