| 1 | // RUN: c-index-test -write-pch %t.pch -x c %S/Inputs/c-index-pch.h |
|---|---|
| 2 | // RUN: c-index-test -write-pch %t.ast -Xclang -include-pch -Xclang %t.pch -x c %s |
| 3 | // RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s |
| 4 | // ALL: FunctionDecl=foo |
| 5 | // ALL: VarDecl=bar |
| 6 | // ALL: FunctionDecl=wibble |
| 7 | // ALL: FunctionDecl=wonka |
| 8 | void wibble(int i); |
| 9 | void wonka(float); |
| 10 |