1 static int foo(int a)
2 {
3 return a ?? 1 : 0;
4 }
5 /*
6 * check-name: Bad ternary syntax
7 * check-description: Once caused Sparse to segfault
8 * check-error-start
9 bad-ternary-cond.c:3:19: error: Expected : in conditional expression
10 bad-ternary-cond.c:3:19: error: got ?
11 * check-error-end
12 */