repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC
/
2005-07-20-SqrtNoErrno.c
blob
3f85f7280196c36d7695ae895d23b1cdf7e63eda
1
// RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt
2
#include <math.h>
3
4
float
foo
(
float
X
) {
5
// Check that this compiles to llvm.sqrt when errno is ignored.
6
return
sqrtf
(
X
);
7
}