]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/quickbook/test/preformatted-1_6.gold
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / quickbook / test / preformatted-1_6.gold
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
3 <article id="preformatted" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5 <title>Preformatted</title>
6 <section id="preformatted.preformatted">
7 <title><link linkend="preformatted.preformatted">Preformatted</link></title>
8 <para>
9 Here's the ubiquitous <emphasis>Hello World</emphasis> program in C++.
10 </para>
11 <programlisting>#include &lt;iostream&gt;
12
13 int main()
14 {
15 std::cout &lt;&lt; &quot;Hello, World!&quot; &lt;&lt; std::endl;
16 return 0;
17 }
18 </programlisting>
19 <para>
20 The code should appear as a single block of code in a monospaced font and with
21 no syntax highlighting. The fifth and sixth lines should appear indented to
22 the right, aligning under <code><phrase role="identifier">main</phrase></code>,
23 on line 3.
24 </para>
25 <para>
26 Here's a one line function definitition:
27 </para>
28 <programlisting>void something(); </programlisting>
29 <para>
30 .
31 </para>
32 <para>
33 And some indented code:
34 </para>
35 <programlisting> void go()
36 {
37 }
38 </programlisting>
39 </section>
40 </article>