aboutsummaryrefslogtreecommitdiff
path: root/test/Index/index-pch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/index-pch.cpp')
-rw-r--r--test/Index/index-pch.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Index/index-pch.cpp b/test/Index/index-pch.cpp
index c8da7b2fbf2a..caab2d7f97bd 100644
--- a/test/Index/index-pch.cpp
+++ b/test/Index/index-pch.cpp
@@ -1,6 +1,8 @@
// RUN: c-index-test -write-pch %t.pch -fshort-wchar %s
-// RUN: c-index-test -index-tu %t.pch | FileCheck %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: variable | name: wideStr
+// CHECK: [indexDeclaration]: kind: struct | name: __is_void
+struct __is_void {};