summaryrefslogtreecommitdiffstats
path: root/testing/014_code.dox
diff options
context:
space:
mode:
Diffstat (limited to 'testing/014_code.dox')
-rw-r--r--testing/014_code.dox14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/014_code.dox b/testing/014_code.dox
new file mode 100644
index 0000000..871a44c
--- /dev/null
+++ b/testing/014_code.dox
@@ -0,0 +1,14 @@
+// objective: test the \code command
+// check: indexpage.xml
+/** \mainpage
+ * \code{.py}
+ * # comment in Python
+ * class Python:
+ * pass
+ * \endcode
+ *
+ * \code{.cpp}
+ * // comment in a code block
+ * class Cpp {};
+ * \endcode
+ */