MCPcopy Create free account
hub / github.com/SqliteModernCpp/sqlite_modern_cpp / main

Function main

tests/mov_ctor.cc:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22int main() {
23
24 try {
25 dbFront dbf;
26 }
27 catch(sqlite_exception e) {
28 cout << "Unexpected error " << e.what() << endl;
29 exit(EXIT_FAILURE);
30 }
31 catch(...) {
32 cout << "Unknown error\n";
33 exit(EXIT_FAILURE);
34 }
35
36 cout << "OK\n";
37 exit(EXIT_SUCCESS);
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected