mirror of
https://github.com/libretro/cpp-cheat.git
synced 2025-04-09 06:51:05 +00:00
16 lines
247 B
C
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;
|
|
}
|