xref: /aosp_15_r20/external/clang/test/CodeGen/nomathbuiltin.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -fno-math-builtin -emit-llvm -o - %s | FileCheck %s
2*67e74705SXin Li 
3*67e74705SXin Li // Check that the -fno-math-builtin option for -cc1 is working properly.
4*67e74705SXin Li 
5*67e74705SXin Li 
6*67e74705SXin Li double pow(double, double);
7*67e74705SXin Li 
foo(double a,double b)8*67e74705SXin Li double foo(double a, double b) {
9*67e74705SXin Li   return pow(a, b);
10*67e74705SXin Li // CHECK: call {{.*}}double @pow
11*67e74705SXin Li }
12*67e74705SXin Li 
13