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 11struct s { 12 int i; 13 char c; 14 char *ptr; 15}; 16 17struct s mk_s (int j) 18{ 19 struct s result; 20 result.i = j; 21 result.c = 0; 22 result.ptr = 0; 23 return result; 24} 25