How to assign values to struct inside another struct

In reply to dave_59:

Yes, I am using a dynamic array of specifed type.
Also if I am using a union how can I pass values to one of the union member.

Example:

typedef struct {
	int unsigned test1;
	int unsigned test2;
	int unsigned test3;
} type_set1;
 
typedef struct {
	int unsigned test4;
	int unsigned test5;
} type_set2;
 
typedef union {
	type_set1    reference_type;
	type_set2 reference_content;

} type_ref_1;
 
typedef struct {
	int unsigned          test6;
	int unsigned          test7;
	type_ref_1  list;
} type_info;
type_info info1 = '{1,2, ???

How can I pass values, since union can access one at a time and I want reference_type in my union. How can I achieve this? I tried with tagged but the tool is not supporting “union tagged”