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