summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObjectLibrary/depends_main.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-26 15:38:39 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-26 15:43:32 (GMT)
commitb35a949bb6ce6ae5204de2cf867dac903cb71262 (patch)
tree37129876dd3c443a9068a12e34bdaa73a31ee825 /Tests/RunCMake/ObjectLibrary/depends_main.c
parent01347954187ebccf83fc7540163f150a5f430c36 (diff)
downloadCMake-b35a949bb6ce6ae5204de2cf867dac903cb71262.zip
CMake-b35a949bb6ce6ae5204de2cf867dac903cb71262.tar.gz
CMake-b35a949bb6ce6ae5204de2cf867dac903cb71262.tar.bz2
Tests: Change RunCMake.ObjectLibrary dependencies case to C
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary/depends_main.c')
-rw-r--r--Tests/RunCMake/ObjectLibrary/depends_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/depends_main.c b/Tests/RunCMake/ObjectLibrary/depends_main.c
new file mode 100644
index 0000000..acc66c7
--- /dev/null
+++ b/Tests/RunCMake/ObjectLibrary/depends_main.c
@@ -0,0 +1,7 @@
+extern void mylib_foo(void);
+
+int main(void)
+{
+ mylib_foo();
+ return 0;
+}