diff options
Diffstat (limited to '')
| -rw-r--r-- | src/tests/print.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/print.cpp b/src/tests/print.cpp index bee8cf8..dcd1033 100644 --- a/src/tests/print.cpp +++ b/src/tests/print.cpp | |||
| @@ -8,6 +8,11 @@ int upper() | |||
| 8 | 8 | ||
| 9 | int main() | 9 | int main() |
| 10 | { | 10 | { |
| 11 | int32_t x = INT32_MIN; | ||
| 12 | int32_t y = -x; | ||
| 13 | Bu::sio << INT32_MIN; | ||
| 14 | Bu::println("Attack: Rolled %1 against %2 using %3."). | ||
| 15 | arg( INT32_MIN ).arg( 45.0 ).arg( Bu::String("Longsword") ); | ||
| 11 | Bu::print("hello there %1!\n").arg("Bob"); | 16 | Bu::print("hello there %1!\n").arg("Bob"); |
| 12 | 17 | ||
| 13 | Bu::println("This is %1 crazy, like %2 times over!"). | 18 | Bu::println("This is %1 crazy, like %2 times over!"). |
