projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2003-01-10 Dietmar Maurer <dietmar@ximian.com>
[mono.git]
/
mono
/
tests
/
test-ops.cs
diff --git
a/mono/tests/test-ops.cs
b/mono/tests/test-ops.cs
index 5e7d4e1fab282d4ba481c59e395d508e1a2589ba..809f5d34badbe3efca83edad4fb2138c9ff58272 100755
(executable)
--- a/
mono/tests/test-ops.cs
+++ b/
mono/tests/test-ops.cs
@@
-25,9
+25,16
@@
public class TestIntOps {
return a*b;
}
+ public static int int_div (int a, int b) {
+ return a/b;
+ }
+
public static int Main() {
int num = 1;
+ if (int_div (5, 2) != 2) return num;
+ num++;
+
if (int_add (1, 1) != 2) return num;
num++;