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; } | |
^ | |