Argyrios Kyrtzidis | 819f9ff | 2015-08-05 17:23:59 +0000 | [diff] [blame] | 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 |
Ted Kremenek | ef3339b | 2009-11-17 18:09:14 +0000 | [diff] [blame] | 3 | // RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s |
Douglas Gregor | 16bef85 | 2009-10-16 20:01:17 +0000 | [diff] [blame] | 4 | // ALL: FunctionDecl=foo |
| 5 | // ALL: VarDecl=bar |
| 6 | // ALL: FunctionDecl=wibble |
| 7 | // ALL: FunctionDecl=wonka |
Douglas Gregor | d2eb58a | 2009-10-16 18:18:30 +0000 | [diff] [blame] | 8 | void wibble(int i); |
Douglas Gregor | 16bef85 | 2009-10-16 20:01:17 +0000 | [diff] [blame] | 9 | void wonka(float); |