llvm-for-llvmta/tools/clang/test/Coverage/ast-print-func.cpp
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

13 lines
285 B
C++

// RUN: %clang_cc1 -ast-print -std=c++14 %s -o %t.1.cpp
// RUN: %clang_cc1 -ast-print -std=c++14 %t.1.cpp -o %t.2.cpp
// RUN: diff %t.1.cpp %t.2.cpp
auto func_01(int, char) -> double;
auto func_02(int x) -> int { return 2 + x; }
void func_03() {
extern void g(), h();
return;
}