[CN] Array example fails when using size_t
index (but passes with unsigned long
)
#815
Labels
size_t
index (but passes with unsigned long
)
#815
CN fails to verify an array access when using an index of type
size_t
, but passes the same example when the index has typeunsigned long
(size_t
is an alias forunsigned long
, at least on my system).Replication
The following example fails in CN:
The example fails with the following error:
However, the same example works when the type of the index is changed
unsigned long
:Analysis
size_t
: [CN] cannot use prefix increment with size_t in a loop #678The text was updated successfully, but these errors were encountered: