summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2006-09-08-powi.cpp
blob: 75cbfda7cbc9071ea406278d5d9666f85704e982 (plain)
1
2
3
4
5
6
7
// RUN: %llvmgxx -O3 -S -o - %s

#include <cmath>

double foo(double X, int Y) {
  return std::pow(X, Y);
}