/* Tries to close the console output stream, which must either fail silently or terminate with exit code -1. */ #include #include "tests/main.h" void test_main (void) { close (1); }