aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/select-select-true-true.c
blob: e6fa2c89febb27d7713a2d6775b5dc29f8fc02bc (plain)
1
2
3
4
5
6
7
8
9
10
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-known-to-fail
 *
 * check-output-ignore
 * check-output-returns: 1
 */