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