llvm-project/clang/test/CodeGen/2004-02-20-Builtins.c
Vedant Kumar 6dc0f5b947 [test] FileCheck-ify a test to avoid a spurious failure, NFC
The path to one of my source trees contains 'builtin' as a substring, so
this test failed. Fix it with FileCheck.

llvm-svn: 309460
2017-07-29 00:19:52 +00:00

9 lines
175 B
C

// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
double sqrt(double x);
// CHECK-LABEL: @zsqrtxxx
// CHECK-NOT: builtin
void zsqrtxxx(float num) {
num = sqrt(num);
}