blob: 78425ed73c04580bf962e4c77d55ad6afcf2f9e1 [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;
}
if false { break; }
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:12:10: error: expected '(' after 'if'
if false { break; }
^