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