llvm-project/clang/test/Index/index-pch.cpp

7 lines
205 B
C++
Raw Normal View History

// RUN: c-index-test -write-pch %t.pch -fshort-wchar %s
// RUN: c-index-test -index-tu %t.pch | FileCheck %s
const wchar_t *wideStr = L"123";
// CHECK: [indexDeclaration]: kind: variable | name: wideStr