blob: b9c2e9f36d1490685ae0d260ac15c833feae677d [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread bool3 u = bool3(true);
void f() {
uint3 const v = uint3(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]
uint3 const v = uint3(u);
^