From 1101403cbbf083c703ff29b6951ca93a6a425adc Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Fri, 19 Aug 2022 16:34:05 +0400 Subject: test --- source/test/programs/signals.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/test') diff --git a/source/test/programs/signals.c b/source/test/programs/signals.c index c362021..c68d5e3 100644 --- a/source/test/programs/signals.c +++ b/source/test/programs/signals.c @@ -1,17 +1,16 @@ #include "../../kit_test/test.h" #include +#include TEST("abort") { -#if !defined(_WIN32) || defined(__CYGWIN__) + printf("** ABORT\n\n"); abort(); -#endif } TEST("invalid access") { -#if !defined(_WIN32) || defined(__CYGWIN__) + printf("** INVALID ACCESS\n\n"); *(volatile int *) NULL = 42; -#endif } int main(int argc, char **argv) { -- cgit v1.2.3