aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/cxx_exprs.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx_exprs.h')
-rw-r--r--test/PCH/cxx_exprs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/PCH/cxx_exprs.h b/test/PCH/cxx_exprs.h
index 67ab4a6d34db..35db82efaeec 100644
--- a/test/PCH/cxx_exprs.h
+++ b/test/PCH/cxx_exprs.h
@@ -81,3 +81,8 @@ CtorStruct create_CtorStruct() {
return CtorStruct(1, 3.14f); // CXXTemporaryObjectExpr
};
+// CharacterLiteral variants
+const char char_value = 'a';
+const wchar_t wchar_t_value = L'ı';
+const char16_t char16_t_value = u'ç';
+const char32_t char32_t_value = U'∂';