diff options
author | norly <ny-git@enpas.org> | 2013-06-27 02:10:40 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-27 02:55:57 +0100 |
commit | 271685c3f3a15eca33ad563c1b051bdb32ca2726 (patch) | |
tree | a2090a6a5c8fde9eee62cfaaebb1b1d00acdc650 /tests/src/sub_with_global.c | |
parent | 6004cb3888eaac4995025fdba5f71b7fd861d81a (diff) |
Add test for dynamically linked global variables (stdout, etc)
Diffstat (limited to 'tests/src/sub_with_global.c')
-rw-r--r-- | tests/src/sub_with_global.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/src/sub_with_global.c b/tests/src/sub_with_global.c new file mode 100644 index 0000000..bf1fd24 --- /dev/null +++ b/tests/src/sub_with_global.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +void sub_with_global() +{ + fprintf(stdout, "sub_with_global() has been reached.\n"); + fprintf(stdout, "sub_with_global() is returning.\n"); +} |