1 module protection.basic.tests;
3 import protection.basic.mod1;
5 static assert ( is(typeof(publicFoo())));
6 static assert ( is(typeof(packageFoo())));
7 static assert (!is(typeof(privateFoo())));
9 static assert ( is(typeof(Test.init.publicFoo())));
10 static assert (!is(typeof(Test.init.protectedFoo())));
11 static assert ( is(typeof(Test.init.packageFoo())));
12 static assert (!is(typeof(Test.init.privateFoo())));
18 static assert ( is(typeof(this.publicFoo())));
19 static assert ( is(typeof(this.protectedFoo())));
20 static assert ( is(typeof(this.packageFoo())));
21 static assert (!is(typeof(this.privateFoo())));