diff options
author | Petr Hosek <phosek@chromium.org> | 2018-11-09 03:16:53 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-11-09 03:16:53 +0000 |
commit | e2f6896eef8dcd1d09cf3342aa41b884b7ce9a43 (patch) | |
tree | 1dd724a783fc5457764ac944f83c185d7f574890 /llvm/test/tools/llvm-rc/flags.test | |
parent | 397765bc51d22b13996af19ff39c76edf49457a4 (diff) | |
download | bcm5719-llvm-e2f6896eef8dcd1d09cf3342aa41b884b7ce9a43.tar.gz bcm5719-llvm-e2f6896eef8dcd1d09cf3342aa41b884b7ce9a43.zip |
[llvm-rc] Support joined or separate spelling for /fo flag
CMake invokes rc using the joined spelling which appears to be supported
by Microsoft's rc implementation, so we should support it as well.
Differential Revision: https://reviews.llvm.org/D54191
llvm-svn: 346470
Diffstat (limited to 'llvm/test/tools/llvm-rc/flags.test')
-rw-r--r-- | llvm/test/tools/llvm-rc/flags.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-rc/flags.test b/llvm/test/tools/llvm-rc/flags.test new file mode 100644 index 00000000000..452e90a406b --- /dev/null +++ b/llvm/test/tools/llvm-rc/flags.test @@ -0,0 +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 + +; FO-NOT: Exactly one input file should be provided. |