llvm-project/clang/test/Coverage/ast-printing.cpp
Richard Smith e95106f501 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.
2021-06-30 17:27:26 -07:00

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"