1/* 2 * Copyright 2014, NICTA 3 * 4 * This software may be distributed and modified according to the terms of 5 * the BSD 2-Clause license. Note that NO WARRANTY is provided. 6 * See "LICENSE_BSD2.txt" for details. 7 * 8 * @TAG(NICTA_BSD) 9 */ 10 11int x, y = 1; 12 13struct s { char c; int array[4]; }; 14 15struct s glob1, glob2 = { '3', 1,2 }; 16 17int f(int n) 18{ 19 y++; 20 return n + 1; 21} 22 23int g(int n) 24{ 25 return n*n; 26} 27