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

8 lines
108 B
C++
Raw Normal View History

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