xref: /llvm-project/clang/test/PCH/Inputs/pch-hdrstop-use.cpp (revision 58df1affedc0d68eda16b87984a31dea217ff930)
1 #include "Inputs/pch-through1.h"
bar()2 static int bar() { return 42; }
3 #include "Inputs/pch-through2.h"
4 int pch();
5 #pragma hdrstop
6 
7 //expected-no-diagnostics
8 //CHECK-NOT: FunctionDecl{{.*}}other
9 //CHECK: FunctionDecl{{.*}}main
main()10 int main()
11 {
12   return pch() - 42*42 + bar() - 42 + through1(0) + through2(33);
13 }
14