summaryrefslogtreecommitdiff
path: root/tools/quickbook/test/doc-info/source-mode-1.4.gold
blob: f7fea9a71b5ff296ae73521a1571b2732df58e35 (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
32
33
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<article id="c___test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>C++ test</title>
  <articleinfo>
    <legalnotice id="c___test.legal">
      <para>
        <code><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase
        role="special">(</phrase><phrase role="identifier">x</phrase><phrase role="special">):</phrase>
        <phrase role="keyword">print</phrase> <phrase role="string">&quot;Hello&quot;</phrase></code>
      </para>
    </legalnotice>
    <articlepurpose>
      <code><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase
      role="special">()</phrase> <phrase role="special">{}</phrase></code>
    </articlepurpose>
  </articleinfo>
  <para>
<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
  </para>
  <para>
<programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">():</phrase></programlisting>
  </para>
  <para>
<programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">(</phrase><phrase role="identifier">x</phrase><phrase role="special">):</phrase></programlisting>
  </para>
  <para>
<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
  </para>
  <para>
<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
  </para>
</article>