You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
259 B
36 lines
259 B
4 months ago
|
struct S1
|
||
|
{
|
||
|
int m0;
|
||
|
char m1;
|
||
|
};
|
||
|
|
||
|
struct S2
|
||
|
{
|
||
|
int to_remove;
|
||
|
int m0;
|
||
|
char m1;
|
||
|
};
|
||
|
|
||
|
struct S3
|
||
|
{
|
||
|
int to_change;
|
||
|
};
|
||
|
|
||
|
int
|
||
|
foo(struct S1* s)
|
||
|
{
|
||
|
return s->m0;
|
||
|
}
|
||
|
|
||
|
int
|
||
|
bar(struct S2* s)
|
||
|
{
|
||
|
return s->m0;
|
||
|
}
|
||
|
|
||
|
int
|
||
|
baz(struct S3* s)
|
||
|
{
|
||
|
return s->to_change;
|
||
|
}
|