summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/cmake/test/boost_test/link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/cmake/test/boost_test/link.cpp')
-rw-r--r--src/boost/tools/cmake/test/boost_test/link.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/boost/tools/cmake/test/boost_test/link.cpp b/src/boost/tools/cmake/test/boost_test/link.cpp
new file mode 100644
index 000000000..d843d0c0a
--- /dev/null
+++ b/src/boost/tools/cmake/test/boost_test/link.cpp
@@ -0,0 +1,13 @@
+// Copyright 2018 Peter Dimov
+// Distributed under the Boost Software License, Version 1.0.
+// See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
+
+int f()
+{
+ return 0;
+}
+
+int main()
+{
+ return f();
+}