xref: /llvm-project/clang/test/Index/c-index-pch.c (revision 819f9ffe855029626040b1a09bdfefbf61cbd9a6)
1*819f9ffeSArgyrios Kyrtzidis // RUN: c-index-test -write-pch %t.pch -x c %S/Inputs/c-index-pch.h
2*819f9ffeSArgyrios Kyrtzidis // RUN: c-index-test -write-pch %t.ast -Xclang -include-pch -Xclang %t.pch -x c %s
3ef3339b7STed Kremenek // RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s
416bef857SDouglas Gregor // ALL: FunctionDecl=foo
516bef857SDouglas Gregor // ALL: VarDecl=bar
616bef857SDouglas Gregor // ALL: FunctionDecl=wibble
716bef857SDouglas Gregor // ALL: FunctionDecl=wonka
8d2eb58abSDouglas Gregor void wibble(int i);
916bef857SDouglas Gregor void wonka(float);
10