• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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