summaryrefslogtreecommitdiff
path: root/tools/boostbook/test/more/tests/syntax-highlight/comments.xml
blob: 061870db1761ea4b7cf3882e3efc62220ff90062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright 2010 Daniel James.

    Distributed under 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)
-->
<header name="example.hpp">
  <para>
    Fake reference documentation, so that the syntax highlighter will kick in.
  </para>

  <macro name="foo">
    <description>
      <programlisting>/* C style comment */</programlisting>
      <programlisting>/* Broken C style comment</programlisting>
      <programlisting>
/* Multi-line
 *comment
 */</programlisting>
      <programlisting>/*/ Tricky comment */</programlisting>
      <programlisting>/**/</programlisting>
      <programlisting>/***/</programlisting>
      <programlisting>// Single line comment</programlisting>
      <programlisting>// Single line comment
</programlisting>
    </description>
  </macro>

</header>