]> andersk Git - splint.git/blob - test/tests2.4/offsetof.c
Removed .lh .lcs .lcd files in test directory from distribution tar ball as suggested...
[splint.git] / test / tests2.4 / offsetof.c
1 # include <stddef.h>
2
3 typedef struct _S { union { int i; struct { int m; } s; } u; } S;
4
5 int 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.034689 seconds and 5 git commands to generate.