1/* 2 * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7unsigned int g(unsigned int x) { return x + 3; } 8 9int f(int * x) { return *x + 1; } 10 11int h(int x, int *y) 12{ 13 return g(x) + f(y); 14} 15 16int j(int x) 17{ 18 if (x > 4) { 19 char c = x + 1; 20 return c; 21 } else { 22 int c = x * 2; 23 return c; 24 } 25} 26 27unsigned long foo(unsigned int depth); 28 29int bar(unsigned long baz) 30{ 31 unsigned long depth; 32 depth = bar(1); 33} 34 35struct b { 36 struct b *x; 37 int y; 38}; 39 40int qux(int bbb) 41{ 42 struct b *d, *baz; 43 for(baz = (struct b *) 0; baz; baz = d) 44 { 45 d = baz->x; 46 } 47 return 1; 48} 49 50