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