[Scummvm-git-logs] scummvm master -> 1dfbb0cc4cd1eb4d7fc02ab015e90d018ecbd228
criezy
criezy at scummvm.org
Tue Sep 1 00:33:53 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:
1dfbb0cc4c BASE: Add c++11 unicode string literal test
Commit: 1dfbb0cc4cd1eb4d7fc02ab015e90d018ecbd228
https://github.com/scummvm/scummvm/commit/1dfbb0cc4cd1eb4d7fc02ab015e90d018ecbd228
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-09-01T01:33: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