summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/math/test/compile_test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/math/test/compile_test/main.cpp')
-rw-r--r--src/boost/libs/math/test/compile_test/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/boost/libs/math/test/compile_test/main.cpp b/src/boost/libs/math/test/compile_test/main.cpp
new file mode 100644
index 00000000..86493a96
--- /dev/null
+++ b/src/boost/libs/math/test/compile_test/main.cpp
@@ -0,0 +1,13 @@
+// Copyright John Maddock 2009.
+// Use, modification and distribution are subject to 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)
+
+extern void compile_and_link_test();
+
+int main(int argc, char* /*argv*/ [])
+{
+ if(argc > 1000)
+ compile_and_link_test(); // should never actually be called.
+ return 0;
+}