- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/linking/exception-withthreads.cfa
r5715d43 recfd758 18 18 #include "../exceptions/with-threads.hfa" 19 19 20 TRIVIAL_EXCEPTION(ping); 20 EHM_EXCEPTION(ping)(); 21 EHM_VIRTUAL_TABLE(ping, ping_vt); 21 22 22 23 int main(void) { 23 24 try { 24 throwResume (ping){ };25 throwResume (ping){&ping_vt}; 25 26 } catchResume (ping *) { 26 27 printf("%s threads\n", threading_enabled() ? "with" : "no");
Note:
See TracChangeset
for help on using the changeset viewer.