Windows: use Boost 1.59, msvc 14.0
[metaproxy-moved-to-github.git] / example-module / mytest.cpp
1 /* This file is part of Metaproxy.
2    Copyright (C) Index Data
3
4 Metaproxy is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8
9 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12 for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17 */
18
19 #include <yaz/log.h>
20 #include <yaz/diagbib1.h>
21
22 #include <metaproxy/router_chain.hpp>
23 #include <yaz/test.h>
24
25 namespace mp = metaproxy_1;
26
27 void tst(void)
28 {
29     try {
30         mp::RouterChain router;
31     }
32     catch ( ... ) {
33         YAZ_CHECK(0);
34     }
35
36 }
37
38 int main(int argc, char **argv)
39 {
40     YAZ_CHECK_INIT(argc, argv);
41     tst();
42     YAZ_CHECK_TERM;
43 }
44
45 /*
46  * Local variables:
47  * c-basic-offset: 4
48  * c-file-style: "Stroustrup"
49  * indent-tabs-mode: nil
50  * End:
51  * vim: shiftwidth=4 tabstop=8 expandtab
52  */
53