| 25 | bool caught = false; |
| 26 | |
| 27 | void on_catch(struct hc_error *e) { |
| 28 | assert(hc_streq(e->message, HC_NO_MEMORY) == 0); |
| 29 | caught = true; |
| 30 | } |
| 31 | |
| 32 | hc_catch(on_catch) { |
| 33 | hc_acquire(&a.malloc, s); |
nothing calls this directly
no test coverage detected