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 good(int *p) { 12 return p && *p == 0; 13} 14 15struct ure { 16 int n; 17}; 18 19int bad(struct ure *sp) { 20 return sp && sp->n == 0; 21} 22