Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : // Acts as if building outside of LO.
11 : #undef LIBO_INTERNAL_ONLY
12 :
13 : // The whole purpose of this test is to check that public API headers
14 : // build even without RTL_USING (which enables using e.g. rtl::OUString
15 : // without to refer to the rtl namespace, which is not wanted
16 : // in public API). If there are build errors here, check the headers
17 : // for uses of such types.
18 :
19 : #ifdef RTL_USING
20 : #error Build system problem, RTL_USING using should not be set here.
21 : #endif
22 :
23 : // Additionally, check that public API headers build also with C++03.
24 :
25 : //#if __cplusplus >= 201103L
26 : //#error Build system problem, C++03 should be used here.
27 : //#endif
28 :
29 : // This module contains no tests, this is for the build system.
30 : #include <cppunit/plugin/TestPlugIn.h>
31 :
32 : #include "allheaders.hxx"
33 :
34 2 : CPPUNIT_PLUGIN_IMPLEMENT();
35 0 : extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc(sal_Bool)
36 : {
37 0 : return sal_True;
38 : }
39 :
40 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|