aboutsummaryrefslogtreecommitdiff
path: root/pgsql/template/driver.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-04 17:17:59 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-06 09:52:33 +0200
commitbc54b4bd56c757ec1279896b8b0639a4a9a7e0cd (patch)
tree813c462512f83e13e47d4b07c5faccd780f7b108 /pgsql/template/driver.cxx
parentb8d88b289aca145edbf031adbe904d877d93f3ba (diff)
Add test infrastructure for libodb-pgsql
Diffstat (limited to 'pgsql/template/driver.cxx')
-rw-r--r--pgsql/template/driver.cxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/pgsql/template/driver.cxx b/pgsql/template/driver.cxx
new file mode 100644
index 0000000..1ebb890
--- /dev/null
+++ b/pgsql/template/driver.cxx
@@ -0,0 +1,26 @@
+// file : pgsql/template/driver.cxx
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+// PLACE TEST DESCRIPTION HERE
+//
+
+#include <memory> // std::auto_ptr
+#include <cassert>
+#include <iostream>
+
+using namespace std;
+
+int
+main ()
+{
+ try
+ {
+ cout << "test 001" << endl;
+ }
+ catch (...)
+ {
+ return 1;
+ }
+}