blob: 3733ffd979409c704eb107bb19fa8e140e1ea1de [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint var_1 = 0u;
uint x_200() {
return 0u;
}
void main_1() {
uint const x_11 = x_200();
}
fragment void tint_symbol() {
main_1();
}
program_source:4:13: error: program scope variable must reside in constant address space
thread uint var_1 = 0u;
^
program_source:9:14: warning: unused variable 'x_11' [-Wunused-variable]
uint const x_11 = x_200();
^