2 * Copyright (c) 2012 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.
8 #ifndef NATIVE_CLIENT_TESTS_TOOLCHAIN_EH_HELPER_H_
9 #define NATIVE_CLIENT_TESTS_TOOLCHAIN_EH_HELPER_H_ 1
16 void __attribute__((noinline)) next_step(int n) {
17 printf("%d -> %d\n", g_step, n);
18 if (g_step != n - 1) {
19 printf("ERROR: bad step\n");
25 #endif // NATIVE_CLIENT_TESTS_TOOLCHAIN_EH_HELPER_H_