| 8 | |
| 9 | |
| 10 | int main() { |
| 11 | database db(":memory:"); |
| 12 | db << "CREATE TABLE person (id integer primary key not null, name TEXT not null);"; |
| 13 | |
| 14 | try { |
| 15 | auto stmt = db << "INSERT INTO person (id,name) VALUES (?,?)"; |
| 16 | throw 1; |
| 17 | } catch (int) { |
| 18 | } |
| 19 | exit(EXIT_SUCCESS); |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected