summaryrefslogtreecommitdiff
path: root/Tests/Dependency/Two/TwoSrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Dependency/Two/TwoSrc.c')
-rw-r--r--Tests/Dependency/Two/TwoSrc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Dependency/Two/TwoSrc.c b/Tests/Dependency/Two/TwoSrc.c
new file mode 100644
index 000000000..0b3366b2b
--- /dev/null
+++ b/Tests/Dependency/Two/TwoSrc.c
@@ -0,0 +1,10 @@
+#include <two-test.h>
+
+void TwoFunction()
+{
+ static int count = 0;
+ if( count == 0 ) {
+ ++count;
+ ThreeFunction();
+ }
+}