xref: /llvm-project/clang/test/PCH/Inputs/pch-no-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
main()8 int main()
9 {
10   return pch() + through1(0) + through2(-1) + bar() - 42;
11 }
12