14 lines
275 B
C
14 lines
275 B
C
|
|
#define DEBUG
|
||
|
|
#include "../include/except.h"
|
||
|
|
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <stdio.h>
|
||
|
|
|
||
|
|
int main(void){
|
||
|
|
printf("\n\n");
|
||
|
|
printf("Uncaught exceptions sanity test. This test is supposed to fail!!\n");
|
||
|
|
Exception u = {NULL};
|
||
|
|
RAISE(u);
|
||
|
|
return EXIT_SUCCESS;
|
||
|
|
}
|