diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-27 16:39:07 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-09-14 09:47:51 +0200 |
commit | 533df067e9869522b348d172fee85b2a501540b6 (patch) | |
tree | 6e8472798e855a5206f357317f9267b8042cfffe /tests/auto/other | |
parent | c4378b8620453cd4bfaf12e45f623b3bdc1038e2 (diff) |
Purge Q_{STDLIB,COMPILER}_UNICODE_STRINGS
These were now always defined, hence redundant.
Leave the #define in place so that we can verify we actually do always
define it, in a #else of an existing #if check on it.
Change-Id: Iea4c3dbc8f9982268bcf81da5ef17fe2ebf5c462
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/other')
-rw-r--r-- | tests/auto/other/compiler/tst_compiler.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/other/compiler/tst_compiler.cpp b/tests/auto/other/compiler/tst_compiler.cpp index 92429536f1..bfcfbc02a3 100644 --- a/tests/auto/other/compiler/tst_compiler.cpp +++ b/tests/auto/other/compiler/tst_compiler.cpp @@ -1311,9 +1311,6 @@ void tst_Compiler::cxx11_udl() void tst_Compiler::cxx11_unicode_strings() { -#ifndef Q_COMPILER_UNICODE_STRINGS - QSKIP("Compiler does not support C++11 feature"); -#else static const char16_t u[] = u"\u200BHello\u00A0World"; QCOMPARE(u[0], char16_t(0x200B)); @@ -1322,7 +1319,6 @@ void tst_Compiler::cxx11_unicode_strings() QCOMPARE(u"\U00010000"[0], char16_t(0xD800)); QCOMPARE(u"\U00010000"[1], char16_t(0xDC00)); -#endif } static void noop(QPair<int, int>) {} |