xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/nomathbuiltin.c (revision 5ba302fdeaa9e153d58b5dcaef42d660aedee92e)
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 
13