diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/builtins-error.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/builtins-error.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/builtins-error.c b/gcc/testsuite/gcc.dg/builtins-error.c index 9f401bba1a0..2c0ece1934b 100644 --- a/gcc/testsuite/gcc.dg/builtins-error.c +++ b/gcc/testsuite/gcc.dg/builtins-error.c @@ -16,3 +16,8 @@ int test3(double x) { return __builtin_isinf(x, x); /* { dg-error "too many arguments" } */ } + +int test4(double x) +{ + return __builtin_isinf_sign(x, x); /* { dg-error "too many arguments" } */ +} |