Anonymous unions cannot be initialized with from_bytes
function
#623
Labels
bug
Something isn't working
from_bytes
function
#623
Description
In some cases UTBot tries to construct anonymous union from bytes returned by KLEE. But
from_bytes
function needs constructed type as a template parameter, so generated tests cannot be compiled.Example
To Reproduce
Steps to reproduce the behavior:
struct_with_anonymous_union_as_return_type
Expected behavior
Tests are supposed to be executed.
Actual behavior
Compilation error.
Generated test
Logs
The text was updated successfully, but these errors were encountered: