SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
thread float3 u = float3(1.0f); | |
void f() { | |
bool3 const v = bool3(u); | |
} | |
program_source:4:15: error: program scope variable must reside in constant address space | |
thread float3 u = float3(1.0f); | |
^ | |
program_source:6:15: warning: unused variable 'v' [-Wunused-variable] | |
bool3 const v = bool3(u); | |
^ | |