diff options
Diffstat (limited to 'test/FrontendC++/2006-09-08-powi.cpp')
-rw-r--r-- | test/FrontendC++/2006-09-08-powi.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendC++/2006-09-08-powi.cpp b/test/FrontendC++/2006-09-08-powi.cpp new file mode 100644 index 0000000..75cbfda --- /dev/null +++ b/test/FrontendC++/2006-09-08-powi.cpp @@ -0,0 +1,7 @@ +// RUN: %llvmgxx -O3 -S -o - %s + +#include <cmath> + +double foo(double X, int Y) { + return std::pow(X, Y); +} |