summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/DependencyGraph/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/DependencyGraph/top.c')
-rw-r--r--Tests/RunCMake/DependencyGraph/top.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/DependencyGraph/top.c b/Tests/RunCMake/DependencyGraph/top.c
new file mode 100644
index 0000000..eceb0a5
--- /dev/null
+++ b/Tests/RunCMake/DependencyGraph/top.c
@@ -0,0 +1,9 @@
+int middle(void);
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+ int top(void)
+{
+ return middle() + 2;
+}