llvm-project/llvm/test/Regression/C++Frontend/2006-09-08-powi.cpp

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);
}