diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-09-07 16:59:13 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-09-07 16:59:13 +0000 |
| commit | 34cd2fa339b8ddca105b2062bb44589902573c7b (patch) | |
| tree | b829e14511f9ccb6b5e506825a9bef9c92b4bb1c /clang | |
| parent | e2f0d06541b049545629a9e8a0da8fd3c376ffbb (diff) | |
| download | bcm5719-llvm-34cd2fa339b8ddca105b2062bb44589902573c7b.tar.gz bcm5719-llvm-34cd2fa339b8ddca105b2062bb44589902573c7b.zip | |
Fix test to not write output to the test directory, as it may not be writable.
llvm-svn: 217337
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/Modules/warn-unused-local-typedef.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/warn-unused-local-typedef.cpp b/clang/test/Modules/warn-unused-local-typedef.cpp index a463621d4ef..60e0612d6ce 100644 --- a/clang/test/Modules/warn-unused-local-typedef.cpp +++ b/clang/test/Modules/warn-unused-local-typedef.cpp @@ -1,6 +1,6 @@ // RUN: rm -rf %t -// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s 2>&1 | FileCheck %s -check-prefix=CHECK_1 -// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s 2>&1 | FileCheck %s -check-prefix=CHECK_2 -allow-empty +// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK_1 +// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK_2 -allow-empty // For modules, the warning should only fire the first time, when the module is // built. |

