summaryrefslogtreecommitdiff
path: root/tools/quickbook/test/code_snippet-1_1.quickbook
diff options
context:
space:
mode:
Diffstat (limited to 'tools/quickbook/test/code_snippet-1_1.quickbook')
-rw-r--r--tools/quickbook/test/code_snippet-1_1.quickbook12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/quickbook/test/code_snippet-1_1.quickbook b/tools/quickbook/test/code_snippet-1_1.quickbook
new file mode 100644
index 0000000000..875162708c
--- /dev/null
+++ b/tools/quickbook/test/code_snippet-1_1.quickbook
@@ -0,0 +1,12 @@
+[article Code Snippets
+]
+
+[section A code snippet]
+
+Code snippets inlined in text, as in `namespace quickbook { static const int
+value = 0; }`, should be properly formatted and not glued to the surrounding
+text.
+
+There shoud be no spacees around (`this`), and spaces around `this` code.
+
+[endsect]