1 /* test 2: dies_ok and lives_ok macros */
9 dies_ok({int x; x = 0/0;}, "can't divide by zero");
10 lives_ok({int x; x = 3/7;}, "this is a perfectly fine statement");
11 dies_ok({abort();}, "abort kills the program");
13 {printf("stdout\n"); fprintf(stderr, "stderr\n"); abort();},