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