2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
7 #include "native_client/tests/toolchain/eh_helper.h"
10 /* We call next_step 4x per iteration */
16 for (i = 0; i < N; ++i) {
17 printf("iteration: %d\n", i);
18 next_step(2 + i * STRIDE);
20 next_step(3 + i * STRIDE);
24 if (x != 666 + i) abort();
25 next_step(4 + i * STRIDE);
27 next_step(5 + i * STRIDE);
30 next_step(2 + N * STRIDE);