[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
This commit is contained in:
Vedant Kumar 2017-07-29 00:19:52 +00:00
parent 10c3102071
commit 6dc0f5b947
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
// RUN: %clang_cc1 %s -emit-llvm -o - | not grep builtin
// 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);
}