blob: 7c67b8b67cdcaab0c1028e8623c28e8c9f8076f9 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint var_1 = 0u;
void main_1() {
var_1 = 0u;
if (false) {
var_1 = 1u;
} else {
var_1 = 2u;
}
var_1 = 999u;
}
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;
^