Reorganized SAM-related test data.

This commit is contained in:
Evgeny Gerashchenko
2013-06-27 23:10:09 +04:00
parent 8a51f908f7
commit e017645c97
130 changed files with 364 additions and 358 deletions
@@ -0,0 +1,15 @@
fun box(): String {
val sub = Sub()
(sub : Super).foo{ }
if (sub.lastCalled != "super") {
return "FAIL: ${sub.lastCalled} instead of super"
}
sub.foo{ }
if (sub.lastCalled != "sub") {
return "FAIL: ${sub.lastCalled} instead of sub"
}
return "OK"
}