Mercurial > projects > dstress
diff nocompile/super_05.d @ 148:a2f3b4e1bfe5
cleanup of test name doubles
author | thomask |
---|---|
date | Mon, 22 Nov 2004 11:12:05 +0000 |
parents | |
children | f87ba6507260 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/super_05.d Mon Nov 22 11:12:05 2004 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +module dstress.nocompile.super_05; + +int x; +struct MyStruct{ + int x; + void test(){ + super.x=1; + } +} + +int main(){ + MyStruct c; + c.test(); + return 0; +}