blob: bb9b93cd58d32a73abe47b8ded632f538cce0595 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint x_200 = 0u;
void main_1() {
if (true) {
uint const x_1 = 1u;
switch(1u) {
case 0u:
{
break;
}
default:
{
break;
}
}
x_200 = x_1;
}
}
fragment void tint_symbol() {
main_1();
}
program_source:4:13: error: program scope variable must reside in constant address space
thread uint x_200 = 0u;
^