summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/quickbook/test/macro-1_5.quickbook
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/quickbook/test/macro-1_5.quickbook')
-rw-r--r--src/boost/tools/quickbook/test/macro-1_5.quickbook34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/macro-1_5.quickbook b/src/boost/tools/quickbook/test/macro-1_5.quickbook
new file mode 100644
index 000000000..165ad1b92
--- /dev/null
+++ b/src/boost/tools/quickbook/test/macro-1_5.quickbook
@@ -0,0 +1,34 @@
+[article Macro Test
+[quickbook 1.5]
+]
+
+[def one 1]
+
+one
+
+[template foo[]
+
+[def two 2]
+two
+]
+
+[foo]
+two [/This shouldn't expand]
+
+
+[def __foo__ 1]
+[def __foo__ 2]
+__foo__
+
+[template foo2[]
+[def __foo__ 3]
+__foo__
+]
+
+[foo2]
+__foo__
+
+[def __crazy[macro__ 1]
+[def __crazy\macro__ 2]
+__crazy[macro__
+__crazy\macro__ \ No newline at end of file