Argyrios Kyrtzidis | 7f18633 | 2012-09-14 20:24:53 +0000 | [diff] [blame] | 1 | // RUN: c-index-test -write-pch %t.pch -fshort-wchar %s |
Argyrios Kyrtzidis | 1ebefc7 | 2013-02-27 01:13:51 +0000 | [diff] [blame^] | 2 | // RUN: env LIBCLANG_NOTHREADS=1 c-index-test -index-tu %t.pch | FileCheck %s |
Argyrios Kyrtzidis | 7f18633 | 2012-09-14 20:24:53 +0000 | [diff] [blame] | 3 | |
| 4 | // CHECK: [indexDeclaration]: kind: variable | name: wideStr |
Argyrios Kyrtzidis | 1ebefc7 | 2013-02-27 01:13:51 +0000 | [diff] [blame^] | 5 | const wchar_t *wideStr = L"123"; |
| 6 | |
| 7 | // CHECK: [indexDeclaration]: kind: struct | name: __is_void |
| 8 | struct __is_void {}; |