C++: Add a test with missing summaries.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-04-25 12:18:42 +01:00
parent 21170a1f6d
commit 63b0dd68c9

View File

@@ -198,4 +198,14 @@ int get_x_from_union(U* u) {
//contentbased-summary=;;true;set_x_in_union;(U *,int);;Argument[1];Argument[*0].Union[*U];value;dfc-generated
void set_x_in_union(U* u, int x) {
u->x = x;
}
struct HasInt {
int x;
};
int copy_struct(HasInt *out, const HasInt *in) {
*out = *in;
return 1;
}