2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -emit-pch -x c -o %t.pch %S/Inputs/c-index-pch.h
|
|
|
|
// RUN: %clang_cc1 -include-pch %t.pch -x c -emit-pch -o %t.ast %s
|
2009-11-18 02:09:14 +08:00
|
|
|
// RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s
|
2009-10-17 04:01:17 +08:00
|
|
|
// ALL: FunctionDecl=foo
|
|
|
|
// ALL: VarDecl=bar
|
|
|
|
// ALL: FunctionDecl=wibble
|
|
|
|
// ALL: FunctionDecl=wonka
|
2009-10-17 02:18:30 +08:00
|
|
|
void wibble(int i);
|
2009-10-17 04:01:17 +08:00
|
|
|
void wonka(float);
|