From 271685c3f3a15eca33ad563c1b051bdb32ca2726 Mon Sep 17 00:00:00 2001 From: norly Date: Thu, 27 Jun 2013 02:10:40 +0100 Subject: Add test for dynamically linked global variables (stdout, etc) --- tests/src/sub_with_global.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/src/sub_with_global.c (limited to 'tests/src/sub_with_global.c') 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 + +void sub_with_global() +{ + fprintf(stdout, "sub_with_global() has been reached.\n"); + fprintf(stdout, "sub_with_global() is returning.\n"); +} -- cgit v1.2.3