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); + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits