Clang Project

clang_source_code/test/Coverage/ast-print-func.cpp
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
4
5auto func_01(int, char) -> double;
6
7auto func_02(int x) -> int { return 2 + x; }
8
9void func_03() {
10  extern void g(), h();
11  return;
12}
13