Test static class.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-05-30 13:08:35 +02:00
parent a3a2c8b619
commit fd278b1f47
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 12 additions and 0 deletions

11
tests/static_class.aer Normal file
View File

@ -0,0 +1,11 @@
final virtual class Static {
public void test() {
print('This method can be called statically...');
}
}
final class Program {
public void main() {
Static::test();
}
}

1
tests/static_class.exp Normal file
View File

@ -0,0 +1 @@
This method can be called statically...