Skip to content

Commit 70f3511

Browse files
committed
[clang] [test] Fix the debug-options-as.c test on macOS
Separate the path, which may begin with e.g. /Users, with "--" from the other options, to make it clear that it is a path, not an option. This fixes a test from fcb7b39.
1 parent 3bd161e commit 70f3511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/debug-options-as.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// Check that clang-cl with the -Z7 option works the same, not triggering
3838
// any DWARF output.
3939
//
40-
// RUN: %clang_cl -### -c -Z7 -x assembler %s 2>&1 \
40+
// RUN: %clang_cl -### -c -Z7 -x assembler -- %s 2>&1 \
4141
// RUN: | FileCheck -check-prefix=MSVC %s
4242

4343
// Check to make sure clang with -g on a .s file gets passed -dwarf-debug-producer.

0 commit comments

Comments
 (0)