-
Notifications
You must be signed in to change notification settings - Fork 5
Handle pointers to union #2
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Unions are declared as normal global variables initialized to null values. The test cases like the below are not modeled,
union U {
int *f;
}u, *v
int main(){
int a;
u.f = &a // this works as it uses a GEP
v -> f = &a // this does not work; fix this
return 0;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed