Imported Upstream version 1.57.0
[platform/upstream/boost.git] / tools / quickbook / test / code_cpp-1_5.quickbook
index be8043a..fdaa926 100644 (file)
@@ -2,6 +2,10 @@
 [quickbook 1.5]
 ]
 
+    #include <some_header>
+        #include "another_header.hpp"
+    #   define A_MACRO value
+    #define stringize(hello) #hello
     // No escape
     /* No escape */
     /* No escape
@@ -12,6 +16,7 @@
     /* Multiple escapes: ``/italic/``
      * ``_underline_````*bold*``
      */
+    /* Token pasting: */ a##b
 
 A badly formed comment:
 
@@ -20,3 +25,10 @@ A badly formed comment:
 A badly formed comment with an escape:
 
     /* Oh dear ``*bold*``
+
+Just some code:
+
+    int main() {
+        constexpr char32_t x = 'a';
+        const auto y = x - ' ';
+    }