xref: /openbsd-src/lib/libexpat/tests/runtestspp.cpp (revision 08819b4170fcd59bf2520ff6a2d2af47b8c56234)
12e724bc9Sbluhm /* C++ compilation harness for the test suite.
22e724bc9Sbluhm 
32e724bc9Sbluhm    This is used to ensure the Expat headers can be included from C++
42e724bc9Sbluhm    and have everything work as expected.
52e724bc9Sbluhm                             __  __            _
62e724bc9Sbluhm                          ___\ \/ /_ __   __ _| |_
72e724bc9Sbluhm                         / _ \\  /| '_ \ / _` | __|
82e724bc9Sbluhm                        |  __//  \| |_) | (_| | |_
92e724bc9Sbluhm                         \___/_/\_\ .__/ \__,_|\__|
102e724bc9Sbluhm                                  |_| XML parser
112e724bc9Sbluhm 
12*08819b41Sbluhm    Copyright (c) 2005 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
13*08819b41Sbluhm    Copyright (c) 2017 Sebastian Pipping <sebastian@pipping.org>
142e724bc9Sbluhm    Licensed under the MIT license:
152e724bc9Sbluhm 
162e724bc9Sbluhm    Permission is  hereby granted,  free of charge,  to any  person obtaining
172e724bc9Sbluhm    a  copy  of  this  software   and  associated  documentation  files  (the
182e724bc9Sbluhm    "Software"),  to  deal in  the  Software  without restriction,  including
192e724bc9Sbluhm    without  limitation the  rights  to use,  copy,  modify, merge,  publish,
202e724bc9Sbluhm    distribute, sublicense, and/or sell copies of the Software, and to permit
212e724bc9Sbluhm    persons  to whom  the Software  is  furnished to  do so,  subject to  the
222e724bc9Sbluhm    following conditions:
232e724bc9Sbluhm 
242e724bc9Sbluhm    The above copyright  notice and this permission notice  shall be included
252e724bc9Sbluhm    in all copies or substantial portions of the Software.
262e724bc9Sbluhm 
272e724bc9Sbluhm    THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
282e724bc9Sbluhm    EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
292e724bc9Sbluhm    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
302e724bc9Sbluhm    NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
312e724bc9Sbluhm    DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
322e724bc9Sbluhm    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
332e724bc9Sbluhm    USE OR OTHER DEALINGS IN THE SOFTWARE.
342e724bc9Sbluhm */
352e724bc9Sbluhm 
3633ab7b2bSbluhm #include "runtests.c"
37