summaryrefslogtreecommitdiff
path: root/tools/quickbook/test/stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/quickbook/test/stub.c')
-rw-r--r--tools/quickbook/test/stub.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/quickbook/test/stub.c b/tools/quickbook/test/stub.c
new file mode 100644
index 0000000000..f7f83cfe8d
--- /dev/null
+++ b/tools/quickbook/test/stub.c
@@ -0,0 +1,32 @@
+/*=============================================================================
+ Copyright (c) 2006 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*`
+This should appear when =stub.c= is included.
+
+[foo_c]
+*/
+
+/*[foo_c */
+ /*`
+ This is the C [*['foo]] function.
+
+ This description can have paragraphs...
+
+ * lists
+ * etc.
+
+ And any quickbook block markup.
+ */
+char* foo()
+{
+ // return 'em, foo man!
+ return "foo";
+}
+/*]*/