From 1dfbb0cc4cd1eb4d7fc02ab015e90d018ecbd228 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Tue, 1 Sep 2020 01:32:39 +0100 Subject: [PATCH] BASE: Add c++11 unicode string literal test --- base/test_new_standards.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/test_new_standards.cpp b/base/test_new_standards.cpp index ae8652abba0..f33aac4fcaa 100644 --- a/base/test_new_standards.cpp +++ b/base/test_new_standards.cpp @@ -52,6 +52,11 @@ #include "common/hash-str.h" #include "common/rect.h" +#ifndef DONT_TEST_UNICODE_STRING_LITERAL +const char16_t *u16str = u"\u00DAnicode string"; +const char32_t *u32str = U"\u00DAnicode string"; +#endif + #ifndef DONT_TEST_INITIALIZIER_LIST1 #ifndef USE_INITIALIZIER_LIST_REPLACEMENT #include