source:
CIVL/examples/modelbuilder/file_scope_extern3.c@
f17d4c8
| Last change on this file since f17d4c8 was bfb3278, checked in by , 8 years ago | |
|---|---|
|
|
| File size: 152 bytes | |
| Rev | Line | |
|---|---|---|
| [bfb3278] | 1 | #include <assert.h> |
| 2 | #include "file_scope_extern3_lib.h" | |
| 3 | ||
| 4 | extern Type t; | |
| 5 | ||
| 6 | int f() { | |
| 7 | assert(value(t) == 9); | |
| 8 | return 0; | |
| 9 | } | |
| 10 | ||
| 11 | int main() { | |
| 12 | return f(); | |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
