Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/linking/exception-nothreads.cfa

    r5715d43 recfd758  
    1717#include <exception.hfa>
    1818
    19 TRIVIAL_EXCEPTION(ping);
     19EHM_EXCEPTION(ping)();
     20EHM_VIRTUAL_TABLE(ping, ping_vt);
    2021
    2122int main(void) {
    2223        try {
    23                 throwResume (ping){};
     24                throwResume (ping){&ping_vt};
    2425        } catchResume (ping *) {
    2526                printf("%s threads\n", threading_enabled() ? "with" : "no");
Note: See TracChangeset for help on using the changeset viewer.