Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2005-07-20-SqrtNoErrno.c
blob3f85f7280196c36d7695ae895d23b1cdf7e63eda
1 // RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt
2 #include <math.h>
4 float foo(float X) {
5 // Check that this compiles to llvm.sqrt when errno is ignored.
6 return sqrtf(X);