aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-24 23:29:37 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-24 23:29:37 +0000
commit45f1fa9ef2363bdedd97b086a96a131996590c56 (patch)
tree855067c677d45db43505b593bdb25a603ffa4edc
parenta7972a08e0fb16e5e7e8364ab6fc8889debf18ab (diff)
FileCheck'ize test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173389 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/unreachable.c4
1 files changed, 2 insertions, 2 deletions
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();