Douglas Gregor | 52e7108 | 2009-10-16 18:18:30 +0000 | [diff] [blame^] | 1 | // RUN: clang-cc -emit-pch -x c -o %t.pch %S/c-index-pch.h && |
2 | // RUN: clang-cc -include-pch %t.pch -x c -emit-pch -o %t.ast %s && | ||||
3 | // RUN: c-index-test %t.ast all | FileCheck -check-prefix=ALL %s | ||||
4 | // CHECK-ALL: FunctionDecl=foo | ||||
5 | // CHECK-ALL: VarDecl=bar | ||||
6 | // CHECK-ALL: FunctionDecl=wibble | ||||
7 | void wibble(int i); |