hanchenye-llvm-project/clang/test/CodeGen/nomathbuiltin.c

13 lines
265 B
C

// RUN: %clang_cc1 -fno-math-builtin -emit-llvm -o - %s | FileCheck %s
// Check that the -fno-math-builtin option for -cc1 is working properly.
double pow(double, double);
double foo(double a, double b) {
return pow(a, b);
// CHECK: call {{.*}}double @pow
}