Initial commit

This commit is contained in:
Bassem Girgis
2018-12-20 17:34:07 -06:00
parent 7a2d899662
commit 81b4b9e273
34743 changed files with 5940233 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
module pointer_reference_runme;
import pointer_reference.pointer_reference;
import pointer_reference.Struct;
void main() {
Struct s = get();
if (s.value != 10) throw new Exception("get test failed");
Struct ss = new Struct(20);
set(ss);
if (Struct.instance.value != 20) throw new Exception("set test failed");
}