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