From: David Blaikie Date: Sun, 7 Sep 2014 17:34:18 +0000 (+0000) Subject: Avoid writing to the test directory as it may not be writable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2715e00affc58b4ca8827ce5a2ee0f7ec482a276;p=clang Avoid writing to the test directory as it may not be writable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217339 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/warn-unused-local-typedef-serialize.cpp b/test/SemaCXX/warn-unused-local-typedef-serialize.cpp index 62630fc4ff..aa2c48bb57 100644 --- a/test/SemaCXX/warn-unused-local-typedef-serialize.cpp +++ b/test/SemaCXX/warn-unused-local-typedef-serialize.cpp @@ -1,6 +1,6 @@ // RUN: %clang -x c++-header -c -Wunused-local-typedef %s -o %t.gch -Werror -// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s 2>&1 | FileCheck %s -// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s 2>&1 | FileCheck %s +// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s -o /dev/null 2>&1 | FileCheck %s +// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s -o /dev/null 2>&1 | FileCheck %s #ifndef BE_THE_SOURCE inline void myfun() {