(check_case_value): Call constant_expression_warning.

From-SVN: r2070
This commit is contained in:
Richard Stallman 1992-09-07 06:07:30 +00:00
parent 2d7a4cf5cf
commit bc690db148
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,8 @@ check_case_value (value)
/* Promote char or short to int. */
value = default_conversion (value);
constant_expression_warning (value);
return value;
}