[Scummvm-git-logs] scummvm branch-2-2 -> 88f81026403bc548142c05d40ab43a604817d654
criezy
criezy at scummvm.org
Tue Sep 1 00:33:24 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
88f8102640 BASE: Add c++11 unicode string literal test
Commit: 88f81026403bc548142c05d40ab43a604817d654
https://github.com/scummvm/scummvm/commit/88f81026403bc548142c05d40ab43a604817d654
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-09-01T01:32:39+01:00
Commit Message:
BASE: Add c++11 unicode string literal test
Changed paths:
base/test_new_standards.cpp
diff --git a/base/test_new_standards.cpp b/base/test_new_standards.cpp
index ae8652abba..f33aac4fca 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 <initializer_list>
More information about the Scummvm-git-logs
mailing list