llvm-project/clang/test/Index/index-pch.cpp
Argyrios Kyrtzidis 9e1fb5632a [libclang] When loading an AST file, make sure to apply the language options
to the target info.

Related to rdar://12069503.

llvm-svn: 163931
2012-09-14 20:24:53 +00:00

7 lines
205 B
C++

// 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