1f08c3bdfSopenharmony_ciint sel_self0x(int x) { return (x ? 0 : x) == 0; }
2f08c3bdfSopenharmony_ciint sel_selfx0(int x) { return (x ? x : 0) == x; }
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ci/*
5f08c3bdfSopenharmony_ci * check-name: select-self-zero
6f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file
7f08c3bdfSopenharmony_ci *
8f08c3bdfSopenharmony_ci * check-output-ignore
9f08c3bdfSopenharmony_ci * check-output-returns: 1
10f08c3bdfSopenharmony_ci */
11