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