aboutsummaryrefslogtreecommitdiff
path: root/test/Index/index-pch.cpp
blob: caab2d7f97bd53b60362d0627a149f5a1b9f1733 (plain)
1
2
3
4
5
6
7
8
// RUN: c-index-test -write-pch %t.pch -fshort-wchar %s
// RUN: env LIBCLANG_NOTHREADS=1 c-index-test -index-tu %t.pch | FileCheck %s

// CHECK: [indexDeclaration]: kind: variable | name: wideStr
const wchar_t *wideStr = L"123";

// CHECK: [indexDeclaration]: kind: struct | name: __is_void
struct __is_void {};