Skip to content

Commit 41710f4

Browse files
zygoloidmemfrob
authored andcommitted
Add a target triple to fix failures on MS build bots.
-ast-dump=json tries to mangle every declaration, and under the MS ABI there are still a few things we can't mangle, which caused this test to assert.
1 parent 62c09ea commit 41710f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Coverage/ast-printing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: diff %t.1.cpp %t.2.cpp
55
// RUN: %clang_cc1 -std=c++20 -ast-dump %s
66
// RUN: %clang_cc1 -std=c++20 -ast-dump-all %s
7-
// RUN: %clang_cc1 -std=c++20 -ast-dump=json %s
7+
// RUN: %clang_cc1 -std=c++20 -ast-dump=json -triple=x86_64-linux-gnu %s
88
// RUN: %clang_cc1 -std=c++20 -fdump-record-layouts %s
99

1010
#include "cxx-language-features.inc"

0 commit comments

Comments
 (0)