summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Case2/foo1c.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-01 14:38:03 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-01 14:38:03 (GMT)
commit0cfd8c411ff450465ad2adfca43aaeb859eee643 (patch)
tree6e0900fed8ad30d8f31967625cfa7e77bc4da399 /Tests/Dependency/Case2/foo1c.c
parent69251f75492a9bd1e3122e8e7ae7888e9c700a57 (diff)
downloadCMake-0cfd8c411ff450465ad2adfca43aaeb859eee643.zip
CMake-0cfd8c411ff450465ad2adfca43aaeb859eee643.tar.gz
CMake-0cfd8c411ff450465ad2adfca43aaeb859eee643.tar.bz2
Test link multiplicity
This tests the LINK_INTERFACE_MULTIPLICITY property for a cycle of three static libraries that must be scanned three times to link properly.
Diffstat (limited to 'Tests/Dependency/Case2/foo1c.c')
-rw-r--r--Tests/Dependency/Case2/foo1c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/Dependency/Case2/foo1c.c b/Tests/Dependency/Case2/foo1c.c
new file mode 100644
index 0000000..1dcca58
--- /dev/null
+++ b/Tests/Dependency/Case2/foo1c.c
@@ -0,0 +1,2 @@
+extern int foo2c(void);
+int foo1c(void) { return foo2c(); }