Suppose I have a C code where Anonymous union emebed into struct :
struct sname{
union{int a;};
int b;
}
how to write Equivalent code in Vlang ?
I have tried this piece,but it can not pass compilation of V,error happened:error: unexpected keyword union, expecting name:
struct Sname {
union {
a int
}
b int
}
thanks.