File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ phases:
47
47
Remove-Item cbmc\byte_update5 -Force -Recurse
48
48
Remove-Item cbmc\byte_update6 -Force -Recurse
49
49
Remove-Item cbmc\byte_update7 -Force -Recurse
50
- Remove-Item cpp\virtual1 -Force -Recurse
51
50
Remove-Item goto-gcc -Force -Recurse
52
51
cd ..
53
52
cd jbmc/regression
Original file line number Diff line number Diff line change @@ -155,11 +155,10 @@ void cpp_typecheckt::typecheck_enum_type(typet &type)
155
155
else
156
156
{
157
157
typecheck_type (type.subtype ());
158
- if (type.subtype ().id ()==ID_signedbv ||
159
- type.subtype ().id ()==ID_unsignedbv)
160
- {
161
- }
162
- else
158
+ if (
159
+ type.subtype ().id () != ID_signedbv &&
160
+ type.subtype ().id () != ID_unsignedbv &&
161
+ type.subtype ().id () != ID_c_bool)
163
162
{
164
163
error ().source_location =type.source_location ();
165
164
error () << " underlying type must be integral" << eom;
You can’t perform that action at this time.
0 commit comments