aboutsummaryrefslogtreecommitdiff
path: root/tests/basics/driver.cxx
blob: a9c9c3d68e4d4d7a9c874823b76ddca433b1c50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// file      : tests/basics/driver.cxx
// 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&)
  {
  }
}