summaryrefslogtreecommitdiff
path: root/Tests/Dependency/Three/ThreeSrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Dependency/Three/ThreeSrc.c')
-rw-r--r--Tests/Dependency/Three/ThreeSrc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Dependency/Three/ThreeSrc.c b/Tests/Dependency/Three/ThreeSrc.c
new file mode 100644
index 000000000..9c77f17a0
--- /dev/null
+++ b/Tests/Dependency/Three/ThreeSrc.c
@@ -0,0 +1,12 @@
+void OneFunction();
+void FourFunction();
+
+void ThreeFunction()
+{
+ static int count = 0;
+ if( count == 0 ) {
+ ++count;
+ FourFunction();
+ }
+ OneFunction();
+}