diff options
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libc/ieeefp/except/except.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/regress/lib/libc/ieeefp/except/except.c b/src/regress/lib/libc/ieeefp/except/except.c index 22bd6809a8..1d11877777 100644 --- a/src/regress/lib/libc/ieeefp/except/except.c +++ b/src/regress/lib/libc/ieeefp/except/except.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: except.c,v 1.9 2004/12/22 00:54:39 david Exp $ */ | 1 | /* $OpenBSD: except.c,v 1.10 2006/05/15 14:00:22 kettenis Exp $ */ |
| 2 | 2 | ||
| 3 | #include <sys/types.h> | 3 | #include <sys/types.h> |
| 4 | #include <unistd.h> | 4 | #include <unistd.h> |
| @@ -97,5 +97,11 @@ main(int argc, char *argv[]) | |||
| 97 | errx(1, "unrecognized condition %s", argv[1]); | 97 | errx(1, "unrecognized condition %s", argv[1]); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | /* | ||
| 101 | * attempt to trigger the exception on machines where | ||
| 102 | * floating-point exceptions are deferred. | ||
| 103 | */ | ||
| 104 | x = one * one; | ||
| 105 | |||
| 100 | errx(1, "signal wasn't caught"); | 106 | errx(1, "signal wasn't caught"); |
| 101 | } | 107 | } |
