mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 00:01:48 +00:00
8 lines
108 B
C++
8 lines
108 B
C++
// RUN: %llvmgxx -O3 -S -o - %s
|
|
|
|
#include <cmath>
|
|
|
|
double foo(double X, int Y) {
|
|
return std::pow(X, Y);
|
|
}
|