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