aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/construct/95048.cc6
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/path/construct/95048.cc6
2 files changed, 12 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/construct/95048.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/construct/95048.cc
index c1a382d..cd80d66 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/construct/95048.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/construct/95048.cc
@@ -16,6 +16,8 @@ test_wide()
VERIFY( CHECK(L, "\U0001F4C1") ); // folder
VERIFY( CHECK(L, "\U0001F4C2") ); // open folder
VERIFY( CHECK(L, "\U0001F4C4") ); // filing cabient
+
+ VERIFY( path(u8"\U0001D11E").wstring() == L"\U0001D11E" ); // G Clef
}
void
@@ -25,6 +27,8 @@ test_u16()
VERIFY( CHECK(u, "\U0001F4C1") ); // folder
VERIFY( CHECK(u, "\U0001F4C2") ); // open folder
VERIFY( CHECK(u, "\U0001F4C4") ); // filing cabient
+
+ VERIFY( path(u8"\U0001D11E").u16string() == u"\U0001D11E" ); // G Clef
}
void
@@ -34,6 +38,8 @@ test_u32()
VERIFY( CHECK(U, "\U0001F4C1") ); // folder
VERIFY( CHECK(U, "\U0001F4C2") ); // open folder
VERIFY( CHECK(U, "\U0001F4C4") ); // filing cabient
+
+ VERIFY( path(u8"\U0001D11E").u32string() == U"\U0001D11E" ); // G Clef
}
int
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/95048.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/95048.cc
index b7a93f3..fc65bfe 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/95048.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/95048.cc
@@ -18,6 +18,8 @@ test_wide()
VERIFY( CHECK(L, "\U0001F4C1") ); // folder
VERIFY( CHECK(L, "\U0001F4C2") ); // open folder
VERIFY( CHECK(L, "\U0001F4C4") ); // filing cabient
+
+ VERIFY( path(u8"\U0001D11E").wstring() == L"\U0001D11E" ); // G Clef
}
void
@@ -27,6 +29,8 @@ test_u16()
VERIFY( CHECK(u, "\U0001F4C1") ); // folder
VERIFY( CHECK(u, "\U0001F4C2") ); // open folder
VERIFY( CHECK(u, "\U0001F4C4") ); // filing cabient
+
+ VERIFY( path(u8"\U0001D11E").u16string() == u"\U0001D11E" ); // G Clef
}
void
@@ -36,6 +40,8 @@ test_u32()
VERIFY( CHECK(U, "\U0001F4C1") ); // folder
VERIFY( CHECK(U, "\U0001F4C2") ); // open folder
VERIFY( CHECK(U, "\U0001F4C4") ); // filing cabient
+
+ VERIFY( path(u8"\U0001D11E").u32string() == U"\U0001D11E" ); // G Clef
}
int