| 1 |
// RUN: %clang_cc1 -fno-math-builtin -emit-llvm -o - %s | FileCheck %s |
| 2 |
|
| 3 |
// Check that the -fno-math-builtin option for -cc1 is working properly. |
| 4 |
|
| 5 |
|
| 6 |
double pow(double, double); |
| 7 |
|
| 8 |
double foo(double a, double b) { |
| 9 |
return pow(a, b); |
| 10 |
// CHECK: call {{.*}}double @pow |
| 11 |
} |
| 12 |
|