source: CIVL/mods/dev.civl.abc/examples/link/a_1.c

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 358 bytes
Line 
1/* a_1.c. To be linked with a_0.c and a_2.c. In this translation
2 * unit, struct S is incomplete, and is therefore compatible with the
3 * struct S in a_0 and the struct S in a_2, even though struct S in
4 * a_0 is incompatible with that in a_2.
5 */
6struct S;
7int f(struct S *p); // defined in a_0.c
8int h(struct S *p) { // called from a_2.c
9 return f(p);
10}
Note: See TracBrowser for help on using the repository browser.