blob: 59523f018f41eee0915981dc49a1916088cb0a5b [file] [log] [blame] [edit]
#include <metal_stdlib>
using namespace metal;
int f() {
int i = 0;
while (true) {
i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
if ((i > 4)) {
return i;
}
}
return 0;
}