Skip to content

Commit cbb5f03

Browse files
committed
[clang] [test] Fix the debug-options-as.c test on PowerPC
Use an explicit MSVC triple with an architecture that does have proper handling for MSVC style targets. This fixes a test from fcb7b39.
1 parent cdab6ff commit cbb5f03

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 -### --target=x86_64-pc-windows-msvc -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)