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