• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="pass_thru_test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5  <title>Pass thru test</title>
6  <para>
7<programlisting><phrase role="comment">/*=============================================================================
8    Copyright (c) 2011 Daniel James
9
10    Use, modification and distribution is subject to the Boost Software
11    License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
12    http://www.boost.org/LICENSE_1_0.txt)
13=============================================================================*/</phrase>
14</programlisting>
15  </para>
16  <para>
17<programlisting><phrase role="keyword">struct</phrase> <phrase role="identifier">Foo</phrase><phrase role="special">{</phrase>
18
19  <phrase role="identifier">Foo</phrase><phrase role="special">();</phrase>
20
21<phrase role="special">};</phrase>
22
23
24<phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase>
25<phrase role="special">{</phrase>
26    <phrase role="identifier">Foo</phrase> <phrase role="identifier">x</phrase><phrase role="special">;</phrase>
27<phrase role="special">}</phrase>
28</programlisting>
29  </para>
30  <para>
31<programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">:</phrase>
32    <phrase role="keyword">print</phrase><phrase role="special">(</phrase><phrase role="string">'foo'</phrase><phrase role="special">)</phrase>
33</programlisting>
34  </para>
35</article>
36