Fix a buggy constant folding transformation when handling aliases.
[oota-llvm.git] / test / C++Frontend / 2006-09-08-powi.cpp
1 // RUN: %llvmgxx -O3 -S -o - %s
2
3 #include <cmath>
4
5 double foo(double X, int Y) {
6   return std::pow(X, Y);
7 }