2013-07-23 08:13:01 +08:00
|
|
|
// RUN: %clang_cc1 -fno-math-builtin -emit-llvm -o - %s | FileCheck %s
|
|
|
|
|
2013-07-23 09:09:17 +08:00
|
|
|
// Check that the -fno-math-builtin option for -cc1 is working properly.
|
2013-07-23 08:13:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
double pow(double, double);
|
|
|
|
|
|
|
|
double foo(double a, double b) {
|
|
|
|
return pow(a, b);
|
2015-06-30 01:29:50 +08:00
|
|
|
// CHECK: call {{.*}}double @pow
|
2013-07-23 08:13:01 +08:00
|
|
|
}
|
2016-01-27 00:16:53 +08:00
|
|
|
|