• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include <metal_stdlib>
2
3using namespace metal;
4int f() {
5  int i = 0;
6  while (true) {
7    i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
8    if ((i > 4)) {
9      return i;
10    }
11  }
12}
13
14