blob: 01e0d557b2eb2ecd84ef1d01ca2aa71534e4ac40 (
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/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&)
{
}
}
|