aboutsummaryrefslogtreecommitdiff
path: root/src/tests/print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/print.cpp')
-rw-r--r--src/tests/print.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/print.cpp b/src/tests/print.cpp
new file mode 100644
index 0000000..7d55554
--- /dev/null
+++ b/src/tests/print.cpp
@@ -0,0 +1,13 @@
1#include <bu/sio.h>
2
3int main()
4{
5 Bu::print("hello there %1!\n").arg("Bob");
6
7 Bu::println("This is %1 crazy, like %2 times over!").
8 arg("totally").arg( 47.2 );
9 Bu::println("This is unsubstituted?");
10
11 return 0;
12}
13