xref: /minix3/external/bsd/llvm/dist/clang/test/Index/c-index-pch.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // RUN: %clang_cc1 -emit-pch -x c -o %t.pch %S/Inputs/c-index-pch.h
2 // RUN: %clang_cc1 -include-pch %t.pch -x c -emit-pch -o %t.ast %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