File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ int main()
22{
33 __CPROVER_map (int , int ) my_map ;
44
5- my_map [ 1 ] = 10 ;
6- my_map [ 2 ] = 20 ;
5+ my_map = __CPROVER_map_update ( my_map , 1 , 10 ) ;
6+ my_map = __CPROVER_map_update ( my_map , 2 , 20 ) ;
77
8- __CPROVER_assert (my_map [ 1 ] == 10 , "[1]" );
9- __CPROVER_assert (my_map [ 2 ] == 20 , "[2]" );
8+ __CPROVER_assert (my_map ( 1 ) == 10 , "[1]" );
9+ __CPROVER_assert (my_map ( 2 ) == 20 , "[2]" );
1010}
Original file line number Diff line number Diff line change @@ -2534,6 +2534,7 @@ void c_typecheck_baset::typecheck_side_effect_function_call(
25342534 function_application_exprt function_application (f_op, expr.arguments ());
25352535
25362536 function_application.add_source_location () = expr.source_location ();
2537+ function_application.type () = mathematical_function_type.codomain ();
25372538
25382539 expr.swap (function_application);
25392540 return ;
You can’t perform that action at this time.
0 commit comments