Changeset c8a0210 for tests/linking/exception-withthreads.cfa
- Timestamp:
- Apr 16, 2021, 2:28:09 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 665edf40
- Parents:
- 857a1c6 (diff), 5f6a172 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
tests/linking/exception-withthreads.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/linking/exception-withthreads.cfa
r857a1c6 rc8a0210 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.