This commit is contained in:
christos 2017-03-06 23:07:42 +00:00
parent 98fc723392
commit 48c8a60c2e
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
struct foo {
int a;
char *b;
};
int
main(void)
{
return __builtin_offsetof(struct foo, b);
}