diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/quickbook/test/preformatted-1_6.gold | |
parent | Initial commit. (diff) | |
download | ceph-upstream.tar.xz ceph-upstream.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/quickbook/test/preformatted-1_6.gold')
-rw-r--r-- | src/boost/tools/quickbook/test/preformatted-1_6.gold | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/preformatted-1_6.gold b/src/boost/tools/quickbook/test/preformatted-1_6.gold new file mode 100644 index 000000000..46a90c98e --- /dev/null +++ b/src/boost/tools/quickbook/test/preformatted-1_6.gold @@ -0,0 +1,40 @@ +<?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="preformatted" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" + xmlns:xi="http://www.w3.org/2001/XInclude"> + <title>Preformatted</title> + <section id="preformatted.preformatted"> + <title><link linkend="preformatted.preformatted">Preformatted</link></title> + <para> + Here's the ubiquitous <emphasis>Hello World</emphasis> program in C++. + </para> +<programlisting>#include <iostream> + +int main() +{ + std::cout << "Hello, World!" << std::endl; + return 0; +} +</programlisting> + <para> + The code should appear as a single block of code in a monospaced font and with + no syntax highlighting. The fifth and sixth lines should appear indented to + the right, aligning under <code><phrase role="identifier">main</phrase></code>, + on line 3. + </para> + <para> + Here's a one line function definitition: + </para> +<programlisting>void something(); </programlisting> + <para> + . + </para> + <para> + And some indented code: + </para> +<programlisting> void go() + { + } +</programlisting> + </section> +</article> |