1*4543ef51SXin LI /* C++ compilation harness for the test suite. 2*4543ef51SXin LI 3*4543ef51SXin LI This is used to ensure the Expat headers can be included from C++ 4*4543ef51SXin LI and have everything work as expected. 5*4543ef51SXin LI __ __ _ 6*4543ef51SXin LI ___\ \/ /_ __ __ _| |_ 7*4543ef51SXin LI / _ \\ /| '_ \ / _` | __| 8*4543ef51SXin LI | __// \| |_) | (_| | |_ 9*4543ef51SXin LI \___/_/\_\ .__/ \__,_|\__| 10*4543ef51SXin LI |_| XML parser 11*4543ef51SXin LI 12*4543ef51SXin LI Copyright (c) 2005 Fred L. Drake, Jr. <fdrake@users.sourceforge.net> 13*4543ef51SXin LI Copyright (c) 2017-2023 Sebastian Pipping <sebastian@pipping.org> 14*4543ef51SXin LI Licensed under the MIT license: 15*4543ef51SXin LI 16*4543ef51SXin LI Permission is hereby granted, free of charge, to any person obtaining 17*4543ef51SXin LI a copy of this software and associated documentation files (the 18*4543ef51SXin LI "Software"), to deal in the Software without restriction, including 19*4543ef51SXin LI without limitation the rights to use, copy, modify, merge, publish, 20*4543ef51SXin LI distribute, sublicense, and/or sell copies of the Software, and to permit 21*4543ef51SXin LI persons to whom the Software is furnished to do so, subject to the 22*4543ef51SXin LI following conditions: 23*4543ef51SXin LI 24*4543ef51SXin LI The above copyright notice and this permission notice shall be included 25*4543ef51SXin LI in all copies or substantial portions of the Software. 26*4543ef51SXin LI 27*4543ef51SXin LI THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 28*4543ef51SXin LI EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29*4543ef51SXin LI MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 30*4543ef51SXin LI NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 31*4543ef51SXin LI DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 32*4543ef51SXin LI OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 33*4543ef51SXin LI USE OR OTHER DEALINGS IN THE SOFTWARE. 34*4543ef51SXin LI */ 35*4543ef51SXin LI 36*4543ef51SXin LI #include "runtests.c" 37