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