summaryrefslogtreecommitdiffstats
path: root/src/lib/kStuff/kLdr/testcase/tst-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/kStuff/kLdr/testcase/tst-2.c')
-rw-r--r--src/lib/kStuff/kLdr/testcase/tst-2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/kStuff/kLdr/testcase/tst-2.c b/src/lib/kStuff/kLdr/testcase/tst-2.c
new file mode 100644
index 0000000..6110a4b
--- /dev/null
+++ b/src/lib/kStuff/kLdr/testcase/tst-2.c
@@ -0,0 +1,16 @@
+#include "tst.h"
+
+MY_IMPORT(int) FuncA(void);
+MY_IMPORT(int) FuncB(void);
+MY_IMPORT(int) FuncC(void);
+MY_IMPORT(int) FuncD(void);
+
+int main()
+{
+ printf("graph:\n"
+ " tst-2 -> b -> a\n"
+ " c -> a\n"
+ " d -> a\n"
+ " a\n");
+ return FuncA() + FuncB() + FuncC() + FuncD();
+}