blob: cc2c2b2eeb9c1748d08433dc0e1bf91a4cc0e9b3 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint var_1 = 0u;
void main_1() {
{
while(true) {
if (false) {
} else {
break;
}
{
while(true) {
if (true) {
} else {
break;
}
if true { break; }
continue;
}
}
continue;
}
}
}
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;
^
program_source:18:14: error: expected '(' after 'if'
if true { break; }
^