[llvm-rc] Fix a new test to disambiguate macOS paths like /Users/... from options...
authorMartin Storsjö <martin@martin.st>
Wed, 21 Apr 2021 10:33:13 +0000 (13:33 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 21 Apr 2021 10:34:33 +0000 (13:34 +0300)
This should fix test failures on macOS.

clang/test/Preprocessor/llvm-rc.rc

index 799bf34..f08fdd0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: llvm-rc -v -i%p/Inputs -Fo%t.res %s
+// RUN: llvm-rc -v -i%p/Inputs -Fo%t.res -- %s
 // RUN: llvm-readobj %t.res | FileCheck %s
 // CHECK: Resource type (int): RCDATA (ID 10)
 // CHECK: Resource name (int): 42