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