]> granicus.if.org Git - clang/commitdiff
[Driver] Prevent no-arc-exception-silence.m test from writing output.
authorMartin Bohme <mboehme@google.com>
Wed, 25 Jan 2017 12:55:53 +0000 (12:55 +0000)
committerMartin Bohme <mboehme@google.com>
Wed, 25 Jan 2017 12:55:53 +0000 (12:55 +0000)
Summary: This enables the test to run on systems where output cannot be written.

Reviewers: compnerd

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D29123

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293051 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/no-arc-exception-silence.m

index 96b700d8352cd83c1c19d310457a1b3e7e8e7b39..c16b2206008ec3bc78f9b871d16b6f6ad50f3a2e 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: %clang -Werror -fobjc-arc -fobjc-arc-exceptions -fno-objc-arc -Xclang -verify -c %s
+// RUN: %clang -Werror -fobjc-arc -fobjc-arc-exceptions -fno-objc-arc -Xclang -verify -c -o /dev/null %s
 // expected-no-diagnostics