aboutsummaryrefslogtreecommitdiff
path: root/tests/basics/driver.cxx
blob: 651095c40e1720b7ea8f320aef5eaa0339c2941d (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/qt/exception.hxx>
#include <odb/qt/date-time/exceptions.hxx>

using namespace odb;

int
main ()
{
  try
  {
    throw qt::date_time::value_out_of_range ();
  }
  catch (const qt::exception&)
  {
  }
}