[BUG] Anonymous union initialized using 'from_bytes' in some cases #447
Labels
bug
Something isn't working
c-syntax
Related to generation tests for C
verified
Bug fix is verified
wrong generation
Inadequate or empty test suite generated
To Reproduce
Generate tests for following code sample:
Resulting tests are:
Note that parameter initialized using
from_bytes
function which doesn't look user friendly.Expected that it would be initialized with explicit values
Similar to what is generated in case when union has identificator.
For sample above more readable tests are generated, where is
from_bytes
is not used.The text was updated successfully, but these errors were encountered: