Sign in
llvm
/
llvm
/
refs/heads/release_26
/
.
/
test
/
FrontendC
/
2005-07-20-SqrtNoErrno.c
blob: 3f85f7280196c36d7695ae895d23b1cdf7e63eda [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt
#include
<math.h>
float
foo
(
float
X
)
{
// Check that this compiles to llvm.sqrt when errno is ignored.
return
sqrtf
(
X
);
}