[numthreads(1, 1, 1)]
void unused_entry_point() {
  return;
}

int f() {
  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
  int i = 1;
  return a[i];
}
