Changeset ecfd758 for tests/linking/exception-nothreads.cfa
- Timestamp:
- Apr 9, 2021, 2:11:43 PM (2 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b91bfde
- Parents:
- e07b589
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/linking/exception-nothreads.cfa
re07b589 recfd758 17 17 #include <exception.hfa> 18 18 19 TRIVIAL_EXCEPTION(ping); 19 EHM_EXCEPTION(ping)(); 20 EHM_VIRTUAL_TABLE(ping, ping_vt); 20 21 21 22 int main(void) { 22 23 try { 23 throwResume (ping){ };24 throwResume (ping){&ping_vt}; 24 25 } catchResume (ping *) { 25 26 printf("%s threads\n", threading_enabled() ? "with" : "no");
Note: See TracChangeset
for help on using the changeset viewer.