xref: /llvm-project/clang/test/Index/index-pch.cpp (revision 729379a1e19cb82b212bc3a6ba7a12274720bc2a)
1 // RUN: c-index-test -write-pch %t.pch -fwchar-type=short -fno-signed-wchar %s
2 // RUN: env LIBCLANG_NOTHREADS=1 c-index-test -index-tu %t.pch | FileCheck %s
3 
4 // CHECK: [indexDeclaration]: kind: variable | name: wideStr
5 const wchar_t *wideStr = L"123";
6 
7 // CHECK: [indexDeclaration]: kind: struct | name: __is_void
8 struct __is_void {};
9