summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/temporaries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/temporaries.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/temporaries.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang-tools-extra/test/clang-tidy/temporaries.cpp b/clang-tools-extra/test/clang-tidy/temporaries.cpp
index a90ef63a56b..8719880bedc 100644
--- a/clang-tools-extra/test/clang-tidy/temporaries.cpp
+++ b/clang-tools-extra/test/clang-tidy/temporaries.cpp
@@ -1,7 +1,4 @@
-// RUN: clang-tidy -checks=clang-analyzer-core.NullDereference -disable-checks='' -analyze-temporary-dtors %s -- > %t.log
-// FileCheck complains if the input file is empty, so add a dummy line.
-// RUN: echo foo >> %t.log
-// RUN: FileCheck %s < %t.log
+// RUN: clang-tidy -checks=clang-analyzer-core.NullDereference -disable-checks='' -analyze-temporary-dtors %s -- | FileCheck %s
struct NoReturnDtor {
~NoReturnDtor() __attribute__((noreturn));
OpenPOWER on IntegriCloud