From 2715e00affc58b4ca8827ce5a2ee0f7ec482a276 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sun, 7 Sep 2014 17:34:18 +0000 Subject: [PATCH] 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 --- test/SemaCXX/warn-unused-local-typedef-serialize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.40.0