diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-19 16:22:47 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-19 16:22:47 +0400 |
commit | 7e38f1ae98de90942742e2093906172733415cc7 (patch) | |
tree | cab55c1fc8b82b399f38b210d48b04dba813fc28 /source/test | |
parent | 08306c049ecdf43ff89f001df1b4a63ca6424006 (diff) | |
download | kit-7e38f1ae98de90942742e2093906172733415cc7.zip |
test
Diffstat (limited to 'source/test')
-rw-r--r-- | source/test/programs/signals.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/test/programs/signals.c b/source/test/programs/signals.c index add9e3d..c362021 100644 --- a/source/test/programs/signals.c +++ b/source/test/programs/signals.c @@ -3,11 +3,15 @@ #include <stdlib.h> TEST("abort") { - //abort(); +#if !defined(_WIN32) || defined(__CYGWIN__) + abort(); +#endif } TEST("invalid access") { - //*(volatile int *) NULL = 42; +#if !defined(_WIN32) || defined(__CYGWIN__) + *(volatile int *) NULL = 42; +#endif } int main(int argc, char **argv) { |