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