aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/facets/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/hybrid/facets/driver.cxx')
-rw-r--r--tests/cxx/hybrid/facets/driver.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cxx/hybrid/facets/driver.cxx b/tests/cxx/hybrid/facets/driver.cxx
index 9bdfec4..bb2f258 100644
--- a/tests/cxx/hybrid/facets/driver.cxx
+++ b/tests/cxx/hybrid/facets/driver.cxx
@@ -36,6 +36,12 @@ main (int argc, char* argv[])
doc_p.parse (argv[1]);
type* r = root_p.post ();
+ // Test fractionDigit.
+ //
+ decimal d;
+ d.base_value (50.123);
+ r->decimal ().push_back (d);
+
// Serialize.
//
root_saggr root_s;