14 lines · cpp
1#include "Inputs/pch-through1.h"2static int bar() { return 42; }3#include "Inputs/pch-through2.h"4int pch();5#pragma hdrstop6 7//expected-no-diagnostics8//CHECK-NOT: FunctionDecl{{.*}}other9//CHECK: FunctionDecl{{.*}}main10int main()11{12 return pch() - 42*42 + bar() - 42 + through1(0) + through2(33);13}14