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.
8 * NaCl test for super simple program not using newlib
11 #include "barebones.h"
14 /* NOTE: must not be const to prevent llvm optimizations */
18 static int fib(int val) {
22 return fib(val - 1) + fib(val - 2);
28 NACL_SYSCALL(exit)(fib(startval));