Skip to content

Commit f9c0f33

Browse files
authored
Merge pull request #4101 from tautschnig/deprecation-symbol_exprt
Avoid deprecated symbol_exprt default construction in unit test [blocks: #3768]
2 parents dbda069 + 2df4578 commit f9c0f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/util/expr_cast/expr_cast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ SCENARIO("expr_dynamic_cast",
106106
}
107107
GIVEN("An exprt value upcast from a symbolt")
108108
{
109-
exprt expr = symbol_exprt{};
109+
exprt expr = symbol_exprt::typeless(irep_idt());
110110

111111
THEN(
112112
"Trying casting from an exprt lvalue to a symbol_exprt should yield a "

0 commit comments

Comments
 (0)