mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 17:16:42 +00:00

-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.
11 lines
452 B
C++
11 lines
452 B
C++
// RUN: %clang_cc1 -std=c++20 -fsyntax-only %s
|
|
// RUN: %clang_cc1 -std=c++20 -ast-print %s -o %t.1.cpp
|
|
// RUN: %clang_cc1 -std=c++20 -ast-print %t.1.cpp -o %t.2.cpp
|
|
// RUN: diff %t.1.cpp %t.2.cpp
|
|
// RUN: %clang_cc1 -std=c++20 -ast-dump %s
|
|
// RUN: %clang_cc1 -std=c++20 -ast-dump-all %s
|
|
// RUN: %clang_cc1 -std=c++20 -ast-dump=json -triple=x86_64-linux-gnu %s
|
|
// RUN: %clang_cc1 -std=c++20 -fdump-record-layouts %s
|
|
|
|
#include "cxx-language-features.inc"
|