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 |