]> granicus.if.org Git - clang/commitdiff
FileCheck'ize test
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 24 Jan 2013 23:29:37 +0000 (23:29 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 24 Jan 2013 23:29:37 +0000 (23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173389 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/unreachable.c

index 5e9fa6a5456d451bb7fd3eb60d5986a3d84670f3..898f64e68ee8ac4af7721ee7d54a9dab6e680dba 100644 (file)
@@ -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();