diff options
-rw-r--r-- | test/FrontendC/2005-07-20-SqrtNoErrno.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FrontendC/2005-07-20-SqrtNoErrno.c b/test/FrontendC/2005-07-20-SqrtNoErrno.c index 3f85f72801..3ca70b9556 100644 --- a/test/FrontendC/2005-07-20-SqrtNoErrno.c +++ b/test/FrontendC/2005-07-20-SqrtNoErrno.c @@ -1,4 +1,7 @@ // RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt +// llvm.sqrt has undefined behavior on negative inputs, so it is +// inappropriate to translate C/C++ sqrt to this. +// XFAIL: * #include <math.h> float foo(float X) { |