blob: 45c9ba6322003917ce2fbafb53e5128a53166772 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint var_1 = 0u;
void main_1() {
switch(20u) {
case 20u:
{
if (false) {
} else {
break;
}
break;
}
default:
{
break;
}
}
}
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;
^