File tree 4 files changed +23
-1
lines changed
regression/cbmc-java/arrayread1
4 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ public class arrayread1 {
2
+
3
+ static arrayread1 readback ;
4
+
5
+ public static void main (int c ) {
6
+
7
+ if (c !=1 ) return ;
8
+ arrayread1 [] a = new arrayread1 [c ];
9
+ readback =a [0 ];
10
+ assert (readback ==null );
11
+
12
+ }
13
+
14
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ arrayread1.class
3
+ --unwind 3 --no-propagation
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION SUCCESSFUL$
7
+ --
8
+ ^warning: ignoring
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ bvt bv_pointerst::convert_pointer_type(const exprt &expr)
296
296
const typet &op_type=ns.follow (op.type ());
297
297
298
298
if (op_type.id ()==ID_pointer)
299
- return convert_pointer_type (op);
299
+ return convert_bv (op);
300
300
else if (op_type.id ()==ID_signedbv ||
301
301
op_type.id ()==ID_unsignedbv ||
302
302
op_type.id ()==ID_bool ||
You can’t perform that action at this time.
0 commit comments