[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2006-09-08-powi.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 8 23:02:30 PDT 2006
Changes in directory llvm/test/Regression/C++Frontend:
2006-09-08-powi.cpp added (r1.1)
---
Log message:
(indirect) test for the __builtin_powi builtin which we now support.
---
Diffs of the changes: (+7 -0)
2006-09-08-powi.cpp | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/C++Frontend/2006-09-08-powi.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/2006-09-08-powi.cpp:1.1
*** /dev/null Sat Sep 9 01:02:26 2006
--- llvm/test/Regression/C++Frontend/2006-09-08-powi.cpp Sat Sep 9 01:02:16 2006
***************
*** 0 ****
--- 1,7 ----
+ // RUN: llvm-g++ -O3 -S -o - %s
+
+ #include <cmath>
+
+ double foo(double X, int Y) {
+ return std::pow(X, Y);
+ }
More information about the llvm-commits
mailing list