Commit bc690db1 by Richard Stallman

(check_case_value): Call constant_expression_warning.

From-SVN: r2070
parent 2d7a4cf5
...@@ -321,6 +321,8 @@ check_case_value (value) ...@@ -321,6 +321,8 @@ check_case_value (value)
/* Promote char or short to int. */ /* Promote char or short to int. */
value = default_conversion (value); value = default_conversion (value);
constant_expression_warning (value);
return value; return value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment