gcc/testsuite/g++.dg/opt/builtins2.C
raw| 1 | // PR c++/49813 |
| 2 | // We should handle asinh as a built-in in C++0x mode, even when strict. |
| 3 | // { dg-do compile { target c++11 } } |
| 4 | // { dg-final { scan-assembler-not "asinh" } } |
| 5 | // { dg-skip-if "requires hosted libstdc++ for math" { ! hostedlib } } |
| 6 | |
| 7 | #include <math.h> |
| 8 | |
| 9 | int main() |
| 10 | { |
| 11 | double das = asinh(1.0); |
| 12 | } |