summaryrefslogtreecommitdiff
path: root/xsd-tests/cxx/parser/validation/built-in/float/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-19 17:12:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-01-13 22:32:44 +0300
commit818bcfa0dbbc1ef48bc3fe1f0c14d12866c51ef2 (patch)
tree08439f9422ff739e6b6e69f8f4623725a5ee367d /xsd-tests/cxx/parser/validation/built-in/float/driver.cxx
parent2615896faa646e5830abf2c269150e1165c66515 (diff)
Various fixes
Diffstat (limited to 'xsd-tests/cxx/parser/validation/built-in/float/driver.cxx')
-rw-r--r--xsd-tests/cxx/parser/validation/built-in/float/driver.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/xsd-tests/cxx/parser/validation/built-in/float/driver.cxx b/xsd-tests/cxx/parser/validation/built-in/float/driver.cxx
index 40c089b..1943be9 100644
--- a/xsd-tests/cxx/parser/validation/built-in/float/driver.cxx
+++ b/xsd-tests/cxx/parser/validation/built-in/float/driver.cxx
@@ -219,6 +219,11 @@ main ()
// float
//
+ // Note that some standard libraries recognize the [+-](INF|INFINITY)
+ // strings (notably libc++) and some of them don't (notably libstdc++; see
+ // LWG #2381 for details).
+ //
+#if 0
{
float_pimpl<char> p;
p.pre ();
@@ -226,6 +231,7 @@ main ()
p._characters ("+INF");
assert (test_post_fail (p));
}
+#endif
{
float_pimpl<char> p;
@@ -237,6 +243,7 @@ main ()
// double
//
+#if 0
{
double_pimpl<char> p;
p.pre ();
@@ -244,6 +251,7 @@ main ()
p._characters ("+INF");
assert (test_post_fail (p));
}
+#endif
{
double_pimpl<char> p;