llvm-6502/test/C++Frontend/2006-09-08-powi.cpp
2006-09-09 06:02:16 +00:00

8 lines
108 B
C++

// RUN: llvm-g++ -O3 -S -o - %s
#include <cmath>
double foo(double X, int Y) {
return std::pow(X, Y);
}