]> granicus.if.org Git - clang/commitdiff
Avoid writing to the test directory as it may not be writable.
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 7 Sep 2014 17:34:18 +0000 (17:34 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 7 Sep 2014 17:34:18 +0000 (17:34 +0000)
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

index 62630fc4ff7a03a66e609e864c8c366c22e51062..aa2c48bb5719d8387d07a6b3e902cc09aad3e427 100644 (file)
@@ -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() {