llvm-project/clang/test/Index/c-index-pch.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
369 B
C
Raw Normal View History

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