add test files
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package foo
|
||||
|
||||
class A() {
|
||||
var p = "yeah"
|
||||
fun mod(other : A) : A {
|
||||
return A();
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : Boolean {
|
||||
var c = A()
|
||||
val d = c;
|
||||
c %= A();
|
||||
return (c != d) && (c.p == "yeah")
|
||||
}
|
||||
Reference in New Issue
Block a user