aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/cond_expr.c
diff options
Diffstat (limited to 'validation/cond_expr.c')
-rw-r--r--validation/cond_expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/validation/cond_expr.c b/validation/cond_expr.c
index afd35952..d5d9e6ff 100644
--- a/validation/cond_expr.c
+++ b/validation/cond_expr.c
@@ -3,8 +3,8 @@
* (real_v == 0 ? real_v == 0 : x), which gives the wrong type (and no
* warning from the testcase below).
*/
-int x;
-double y;
+static int x;
+static double y;
int a(void)
{
return ~(y ? : x); /* should warn */