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"
13 /* NOTE: must not be const to prevent llvm optimizations */
16 static int switchme(int val) {
24 return startval + 100;
39 NACL_SYSCALL(exit)(switchme(startval));