#include <cgreen/cgreen.h>
#include <stdlib.h>

static void will_seg_fault() {
    int *p = NULL;
    (*p)++;
}

static void will_stall() {
    die_in(1);
    while(1) { }
}

int main(int argc, char **argv) {
    TestSuite *suite = create_test_suite();
    add_test(suite, will_seg_fault);
    add_test(suite, will_stall);
    run_test_suite(suite, create_text_reporter());
}
