summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/example/hello/hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/build/example/hello/hello.cpp')
-rw-r--r--src/boost/tools/build/example/hello/hello.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/boost/tools/build/example/hello/hello.cpp b/src/boost/tools/build/example/hello/hello.cpp
new file mode 100644
index 000000000..888e78b1c
--- /dev/null
+++ b/src/boost/tools/build/example/hello/hello.cpp
@@ -0,0 +1,14 @@
+// Copyright (c) 2003 Vladimir Prus
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE.txt or copy at
+// https://www.bfgroup.xyz/b2/LICENSE.txt)
+
+// tag::source[]
+#include <iostream>
+
+int main()
+{
+ std::cout << "Hello!\n";
+}
+// end::source[]