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.cpp18
1 files changed, 18 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..97ac7fd6b
--- /dev/null
+++ b/src/boost/tools/build/example/hello/hello.cpp
@@ -0,0 +1,18 @@
+// Copyright (c) 2003 Vladimir Prus
+//
+// 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)
+//
+// http://www.boost.org
+//
+
+// tag::source[]
+#include <iostream>
+
+int main()
+{
+ std::cout << "Hello!\n";
+ return 1;
+}
+// end::source[]