From 6dc0f5b9471ba20f27d0703ab729bbf6aafacc38 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Sat, 29 Jul 2017 00:19:52 +0000 Subject: [PATCH] [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 --- clang/test/CodeGen/2004-02-20-Builtins.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/test/CodeGen/2004-02-20-Builtins.c b/clang/test/CodeGen/2004-02-20-Builtins.c index 9be0523..13f9701 100644 --- a/clang/test/CodeGen/2004-02-20-Builtins.c +++ b/clang/test/CodeGen/2004-02-20-Builtins.c @@ -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); } -- 2.7.4