1 <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
2 <section id="header.example_hpp"><title>Header <<ulink url="../../example.hpp">example.hpp</ulink>></title><para>
3 Fake reference documentation, so that the syntax highlighter will kick in.
4 </para><synopsis xmlns:xi="http://www.w3.org/2001/XInclude">
6 <link linkend="foo">foo</link></synopsis>
9 <refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="foo"><refmeta><refentrytitle>Macro foo</refentrytitle><manvolnum>3</manvolnum></refmeta><refnamediv><refname>foo</refname><refpurpose/></refnamediv><refsynopsisdiv><synopsis><phrase role="comment">// In header: <<link linkend="header.example_hpp">example.hpp</link>>
11 </phrase>foo</synopsis></refsynopsisdiv><refsect1><title>Description</title>
12 <programlisting><phrase role="comment">/* C style comment */</phrase></programlisting>
13 <programlisting><phrase role="comment">/* Broken C style comment</phrase></programlisting>
15 <phrase role="comment">/* Multi-line
17 */</phrase></programlisting>
18 <programlisting><phrase role="comment">/*/ Tricky comment */</phrase></programlisting>
19 <programlisting><phrase role="comment">/**/</phrase></programlisting>
20 <programlisting><phrase role="comment">/***/</phrase></programlisting>
21 <programlisting><phrase role="comment">// Single line comment</phrase></programlisting>
22 <programlisting><phrase role="comment">// Single line comment</phrase>
24 </refsect1></refentry>