| 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 | int main() |
| 9 | { |
| 10 | return pch() + through1(0) + through2(-1) + bar() - 42; |
| 11 | } |
| 12 |
| 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 | int main() |
| 9 | { |
| 10 | return pch() + through1(0) + through2(-1) + bar() - 42; |
| 11 | } |
| 12 |