projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: don't use `pop' hack anymore, but System.out.printf \o/
[mate.git]
/
tests
/
While.java
diff --git
a/tests/While.java
b/tests/While.java
index 929b56b14c22d3e68bc4351fdac06cde2096df05..d34f959f6e495a8e86a62bc8734ec21d635e74c6 100644
(file)
--- a/
tests/While.java
+++ b/
tests/While.java
@@
-1,6
+1,11
@@
package tests;
public class While {
package tests;
public class While {
+ public static void main(String []args) {
+ System.out.printf("result: f: 0x%08x\n", f(4, 6));
+ System.out.printf("result: g: 0x%08x\n", g(4, 6));
+ }
+
public static int f(int a, int b) {
do {
a += b;
public static int f(int a, int b) {
do {
a += b;