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