Index: tests/.expect/strstream.txt
===================================================================
--- tests/.expect/strstream.txt	(revision fec63b21f5efc819f13b798d37a05390d81a66ee)
+++ tests/.expect/strstream.txt	(revision fec63b21f5efc819f13b798d37a05390d81a66ee)
@@ -0,0 +1,3 @@
+3 0x5          7 1.234568e+07 987.654n
+3 0x5          7 1.234568e+07 987.654n
+3 0x5          7 1.234568e+07 987.654n
Index: tests/strstream.cfa
===================================================================
--- tests/strstream.cfa	(revision fec63b21f5efc819f13b798d37a05390d81a66ee)
+++ tests/strstream.cfa	(revision fec63b21f5efc819f13b798d37a05390d81a66ee)
@@ -0,0 +1,15 @@
+#include <fstream.hfa>
+#include <strstream.hfa>
+
+int main() {
+    enum { size = 256 };
+    char buf[size];
+    strstream sstr = { buf, size };
+    int i = 3, j = 5, k = 7;
+    double x = 12345678.9, y = 98765.4321e-11;
+
+    sstr | i | hex(j) | wd(10, k) | sci(x) | unit(eng(y));
+    write( sstr );
+    printf( "%s", buf );
+    sout | i | hex(j) | wd(10, k) | sci(x) | unit(eng(y));
+}
