blob: 048f51b5f5bf81fe856062e737b3236d498e3864 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint var_1 = 0u;
void main_1() {
{
while(true) {
var_1 = 1u;
if true { 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:9:10: error: expected '(' after 'if'
if true { break; }
^