summaryrefslogtreecommitdiff
path: root/test/Coverage/ast-print-func.cpp
blob: 46083a75de4269f3eabffb340be1ee4966ac5e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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;
}