]> andersk Git - splint.git/blame - test/tests2.4/offsetof.c
Pushed back constraintResolve.c to the previous version.
[splint.git] / test / tests2.4 / offsetof.c
CommitLineData
885824d3 1# include <stddef.h>
2
3typedef struct _S { union { int i; struct { int m; } s; } u; } S;
4
5int f () {
6 size_t t;
7 int m;
8
9 t = offsetof (S, u.i);
10 m = offsetof (S, u);
11 t = offsetof (S, u.s.m);
12 t = offsetof (S, u.s.k);
13 return m;
14}
This page took 0.195017 seconds and 5 git commands to generate.