checking_for_null_instead_of_err_ptr: use smatch_kernel_err_ptr.c
[smatch/bkmgit.git] / validation / optim / select-select-true-false1.c
blob32c0364de2ba0d61a53877aa646da3f506b052e3
1 int foo(int p)
3 int t = (p ? 42 : 0);
4 return (t ? 42 : 0) == ( p ? 42 : 0);
7 /*
8 * check-name: select-select-true-false1
9 * check-command: test-linearize -Wno-decl $file
11 * check-output-ignore
12 * check-output-returns: 1