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