xref: /llvm-project/clang/test/Coverage/ast-printing.cpp (revision e95106f50190d7a25dfad57adf0317ca6cfa9a4f)
1 // RUN: %clang_cc1 -std=c++20 -fsyntax-only %s
2 // RUN: %clang_cc1 -std=c++20 -ast-print %s -o %t.1.cpp
3 // RUN: %clang_cc1 -std=c++20 -ast-print %t.1.cpp -o %t.2.cpp
4 // RUN: diff %t.1.cpp %t.2.cpp
5 // RUN: %clang_cc1 -std=c++20 -ast-dump %s
6 // RUN: %clang_cc1 -std=c++20 -ast-dump-all %s
7 // RUN: %clang_cc1 -std=c++20 -ast-dump=json -triple=x86_64-linux-gnu %s
8 // RUN: %clang_cc1 -std=c++20 -fdump-record-layouts %s
9 
10 #include "cxx-language-features.inc"
11