Sign in
ara-mdk
/
platform
/
external
/
llvm
/
6ff7240a5c484af6e42e2ba6a6d7e03ddf844922
/
.
/
test
/
CFrontend
/
2005-07-20-SqrtNoErrno.c
blob: fd976a679331167bbb7b3971293a7e7c38d2698a [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o - -fno-math-errno | gccas | llvm-dis | grep llvm.sqrt
#include
<math.h>
float
foo
(
float
X
)
{
// Check that this compiles to llvm.sqrt when errno is ignored.
return
sqrtf
(
X
);
}