summaryrefslogtreecommitdiffstats
path: root/Tests/LinkLineOrder/NoDepE.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LinkLineOrder/NoDepE.c')
-rw-r--r--Tests/LinkLineOrder/NoDepE.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/LinkLineOrder/NoDepE.c b/Tests/LinkLineOrder/NoDepE.c
new file mode 100644
index 0000000..4c5d329
--- /dev/null
+++ b/Tests/LinkLineOrder/NoDepE.c
@@ -0,0 +1,11 @@
+// depends on NoDepF
+void NoDepF_func();
+
+void NoDepE_func()
+{
+ static int firstcall = 1;
+ if( firstcall ) {
+ firstcall = 0;
+ NoDepF_func();
+ }
+}