blob: d8a1d7c9b2afe796aabdb86736b314a2d4f179d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// file : tests/basics/driver.cxx
// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
// Basic test to make sure the library is usable. Functionality testing
// is done in the odb-tests package.
#include <odb/boost/exception.hxx>
#include <odb/boost/date-time/exceptions.hxx>
using namespace odb;
int
main ()
{
try
{
throw boost::date_time::value_out_of_range ();
}
catch (const boost::exception&)
{
}
}
|