summaryrefslogtreecommitdiffhomepage
path: root/snippets/test_snippets/test_ostream.nc
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/test_snippets/test_ostream.nc')
-rw-r--r--snippets/test_snippets/test_ostream.nc9
1 files changed, 9 insertions, 0 deletions
diff --git a/snippets/test_snippets/test_ostream.nc b/snippets/test_snippets/test_ostream.nc
new file mode 100644
index 0000000..0d0410b
--- /dev/null
+++ b/snippets/test_snippets/test_ostream.nc
@@ -0,0 +1,9 @@
+#include <GenericsLibrary/ostream.nhh>
+
+let main()
+{
+ let io := 0;
+ io := ostream{};
+ let arr := io.read(0, 0);
+ return arr;
+} \ No newline at end of file