Closed
Description
// err1.c
extern int tbl2[];
int* tbl1 = tbl2;
// err2.c
int tbl2[2];
void main( void )
{
}
cbmc --show-vcc err1.c err2.c
Yields the following error:
CBMC version 5.5 64-bit x86_64 windows
Parsing err1.c
Parsing err2.c
Converting
Type-checking err1
Type-checking err2
Generating GOTO Program
Adding CPROVER library (x86_64)
Removal of function pointers and virtual functions
Partial Inlining
Generic Property Instrumentation
Starting Bounded Model Checking
file err2.c line 1: value_sett::assign type mismatch: rhs.type():
...