summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/nomathbuiltin.c
blob: f80cd91de9d42c7f42620e8421b3494bab089990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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
}

OpenPOWER on IntegriCloud