Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regression/cpp/enum5/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <cassert>
#include <assert.h>

enum IMPH_STATE
{
Expand Down
2 changes: 1 addition & 1 deletion regression/cpp/enum5/test.desc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KNOWNBUG
CORE
main.cpp

^EXIT=0$
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/cpp_typecheck_expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ bool cpp_typecheckt::overloadable(const exprt &expr)

if(t.id()==ID_struct ||
t.id()==ID_union ||
t.id()==ID_c_enum)
t.id()==ID_c_enum || t.id() == ID_c_enum_tag)
return true;
}

Expand Down