[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Coverage / ast-print-func.cpp
blob46083a75de4269f3eabffb340be1ee4966ac5e9c
1 // RUN: %clang_cc1 -ast-print -std=c++14 %s -o %t.1.cpp
2 // RUN: %clang_cc1 -ast-print -std=c++14 %t.1.cpp -o %t.2.cpp
3 // RUN: diff %t.1.cpp %t.2.cpp
5 auto func_01(int, char) -> double;
7 auto func_02(int x) -> int { return 2 + x; }
9 void func_03() {
10 extern void g(), h();
11 return;