summaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-rc/flags.test
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-01-16 08:09:22 +0000
committerMartin Storsjo <martin@martin.st>2019-01-16 08:09:22 +0000
commit5b2ec86eb5f366b4b7a39149a317ad48a4ed865f (patch)
tree3553f21a572a2dccb9ab66d87ef8cfc0fbb52c8f /llvm/test/tools/llvm-rc/flags.test
parent11002c21170e18ef7a81009b4e50ed2f4cf21ccb (diff)
[llvm-rc] Support '--' for delimiting options from input paths
This allows avoiding conflicts between paths that begin with the same chars as some llvm-rc options (which can be used with either slashes or dashes). Differential Revision: https://reviews.llvm.org/D56743
Diffstat (limited to 'llvm/test/tools/llvm-rc/flags.test')
-rw-r--r--llvm/test/tools/llvm-rc/flags.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-rc/flags.test b/llvm/test/tools/llvm-rc/flags.test
index 452e90a406b..5b71481af2d 100644
--- a/llvm/test/tools/llvm-rc/flags.test
+++ b/llvm/test/tools/llvm-rc/flags.test
@@ -1,4 +1,4 @@
-; RUN: llvm-rc /dry-run /FO %t %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
-; RUN: llvm-rc /dry-run /FO%t %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
+; RUN: llvm-rc /dry-run /FO %t -- %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
+; RUN: llvm-rc /dry-run /FO%t -- %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
; FO-NOT: Exactly one input file should be provided.