| 8 | |
| 9 | struct A { |
| 10 | ~A() { |
| 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 | } |
| 20 | }; |
| 21 | int main() { |
| 22 | #ifdef __cpp_lib_uncaught_exceptions |
nothing calls this directly
no outgoing calls
no test coverage detected