aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/select-select-true-true.c
blob: c0c26fdd199ad1dbf2176dc8658daf5889b32639 (plain)
1
2
3
4
5
6
7
8
9
int foo(int p, int a, int b) { return ((p ? 42 : 43) ? a : b) == a ; }

/*
 * check-name: select-select-true-true
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-returns: 1
 */