Some consistency changes to library & headers flags.
[splint-patched.git] / test / metastate / struct.c
blob71ebf81e0dfd3d09a495b6d4f1f84350fa7123dc
1 typedef struct
3 /*@only@*/ /*@open@*/ FILE *file;
4 } *source;
6 void source_badClose (source s)
8 // free (s->file);
9 (void) fclose (s->file);
10 } /* error - scope exits with file closed */