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