summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/li_std_stream_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/li_std_stream_runme.m')
-rw-r--r--Examples/test-suite/octave/li_std_stream_runme.m13
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/test-suite/octave/li_std_stream_runme.m b/Examples/test-suite/octave/li_std_stream_runme.m
new file mode 100644
index 000000000..bf9402e16
--- /dev/null
+++ b/Examples/test-suite/octave/li_std_stream_runme.m
@@ -0,0 +1,13 @@
+li_std_stream
+
+a = A();
+
+o = ostringstream();
+
+o << a << " " << 2345 << " " << 1.435;
+
+
+if (o.str() != "A class 2345 1.435")
+ error
+endif
+