llvm-project/llvm/test/FrontendC++/2006-09-08-powi.cpp

8 lines
108 B
C++

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