summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/test/programs/signals.c8
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) {