blob: cdb7a82e8d493a114740f705246f8cea575b6906 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
constant static volatile bool tint_preserve_loop = true;
int f() {
int i = 0;
while (tint_preserve_loop) {
if ((i > 4)) {
return i;
}
{
i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
}
}
}