cpp-cheat/c/interactive/assert_fail.c
2016-01-18 13:21:26 +01:00

16 lines
247 B
C

/*
# assert fail
Let's see what happens when an assert fails.
Expected outcome: it should call abort, and not print anything to the screen
*/
#include "common.h"
int main() {
assert(0);
puts("here");
return EXIT_SUCCESS;
}