projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-08-16 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git]
/
mono
/
tests
/
test-ops.cs
diff --git
a/mono/tests/test-ops.cs
b/mono/tests/test-ops.cs
old mode 100755
(executable)
new mode 100644
(file)
index
5e7d4e1
..
809f5d3
--- 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++;