except/tests/02_uncaught.c

15 lines
244 B
C
Raw Normal View History

2025-04-04 13:45:31 +00:00
#define DEBUG
#include "../include/except.h"
#include <stdlib.h>
#include <stdio.h>
int main(void){
printf("\n\n");
printf("Uncaught exceptions sanity test.\n");
Exception u = {NULL};
RAISE(u);
return EXIT_SUCCESS;
}