| 1 | #include "Inputs/pch-through1.h" |
|---|---|
| 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 |
| 10 | int main() |
| 11 | { |
| 12 | return pch() - 42*42 + bar() - 42 + through1(0) + through2(33); |
| 13 | } |
| 14 |