summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLibCycleB1.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-01 14:38:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-01 14:38:36 (GMT)
commitd25912889434de4eff7ec581374d656590fce5a7 (patch)
treee9c87eb27c419a0ef5fe033eec0d0bb0dba1b69e /Tests/ExportImport/Export/testLibCycleB1.c
parent0cfd8c411ff450465ad2adfca43aaeb859eee643 (diff)
downloadCMake-d25912889434de4eff7ec581374d656590fce5a7.zip
CMake-d25912889434de4eff7ec581374d656590fce5a7.tar.gz
CMake-d25912889434de4eff7ec581374d656590fce5a7.tar.bz2
Test link multiplicity export/import
We test that LINK_INTERFACE_MULTIPLICITY propagates through export() and install(EXPORT) into dependent projects. A simple cycle of two archives that need to be scanned three times ensures that the importing project uses the multiplicity correctly.
Diffstat (limited to 'Tests/ExportImport/Export/testLibCycleB1.c')
-rw-r--r--Tests/ExportImport/Export/testLibCycleB1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/ExportImport/Export/testLibCycleB1.c b/Tests/ExportImport/Export/testLibCycleB1.c
new file mode 100644
index 0000000..36cb7b0
--- /dev/null
+++ b/Tests/ExportImport/Export/testLibCycleB1.c
@@ -0,0 +1,2 @@
+extern int testLibCycleA2(void);
+int testLibCycleB1(void) { return testLibCycleA2(); }