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