also check other direction
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@3514 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
This commit is contained in:
parent
7bc8b1bf91
commit
0b2bef65c8
|
@ -17,4 +17,8 @@ int main()
|
|||
assert(((struct some *)&signed_int)->f==1);
|
||||
assert(*(int *)&a_float==1065353216);
|
||||
assert(*(long int *)&a_double==4607182418800017408l);
|
||||
|
||||
// other direction
|
||||
signed_int=1065353216;
|
||||
assert(*(float *)&signed_int==1.0f);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue