mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 19:16:05 +00:00

This is consistent and tests the primary configuration we want to test, libclang creating and consuming PCH files. llvm-svn: 244066
10 lines
369 B
C
10 lines
369 B
C
// 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);
|