summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/unreachable.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/unreachable.c')
-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 5e9fa6a..898f64e 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();
OpenPOWER on IntegriCloud