summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-strings/response-file.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-strings/response-file.test')
-rw-r--r--llvm/test/tools/llvm-strings/response-file.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-strings/response-file.test b/llvm/test/tools/llvm-strings/response-file.test
new file mode 100644
index 00000000000..01f0f5715fd
--- /dev/null
+++ b/llvm/test/tools/llvm-strings/response-file.test
@@ -0,0 +1,7 @@
+## Show that llvm-strings can consume a response file.
+
+RUN: echo abcd > %t
+RUN: echo --print-file-name %t > %t.rsp
+RUN: llvm-strings --radix=d @%t.rsp | FileCheck %s -DFILE=%t
+
+CHECK: [[FILE]]: 0 abcd
OpenPOWER on IntegriCloud