Project: libbpf
File: libbpf/src/strset.c
Function: strset__add_str
Generated test:
TEST(error, strset__add_str_test_5)
{
struct strset set = {NULL, 0UL, 10UL, 0UL, NULL};
char s[] = "bcacbccccb";
void utbotInnerVar1 = 0;
set.strs_data = &utbotInnerVar1;
set.strs_hash = &utbotInnerVar1;
strset__add_str(&set, s);
struct strset expected_set = {NULL, 0UL, 0UL, 0UL, NULL};
EXPECT_EQ(expected_set.strs_data_len, set.strs_data_len);
EXPECT_EQ(expected_set.strs_data_cap, set.strs_data_cap);
EXPECT_EQ(expected_set.strs_data_max_len, set.strs_data_max_len);
}
Error:
/home/utbot/projects/libbpf/tests/src/strset_test.cpp:67:10: error: variable has incomplete type 'void'
void utbotInnerVar1 = 0;
Project: libbpf
File:
libbpf/src/strset.cFunction:
strset__add_strGenerated test:
Error: