From: Dmitri Gribenko Date: Thu, 24 Jan 2013 23:29:37 +0000 (+0000) Subject: FileCheck'ize test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45f1fa9ef2363bdedd97b086a96a131996590c56;p=clang FileCheck'ize test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173389 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/unreachable.c b/test/CodeGen/unreachable.c index 5e9fa6a545..898f64e68e 100644 --- a/test/CodeGen/unreachable.c +++ b/test/CodeGen/unreachable.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -emit-llvm -o %t %s -// RUN: grep '@unreachable' %t | count 0 +// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s +// CHECK-NOT: @unreachable extern void abort() __attribute__((noreturn)); extern int unreachable();