summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/boost_install/test/log/quick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/boost_install/test/log/quick.cpp')
-rw-r--r--src/boost/tools/boost_install/test/log/quick.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/boost/tools/boost_install/test/log/quick.cpp b/src/boost/tools/boost_install/test/log/quick.cpp
new file mode 100644
index 000000000..831274e12
--- /dev/null
+++ b/src/boost/tools/boost_install/test/log/quick.cpp
@@ -0,0 +1,15 @@
+
+// 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
+
+#include <boost/log/trivial.hpp>
+
+int main()
+{
+ BOOST_LOG_TRIVIAL(info) << "An informational message";
+ BOOST_LOG_TRIVIAL(warning) << "A warning message";
+}