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