Mercurial > projects > dstress
comparison nocompile/super_04.d @ 0:3269e4627918
init dstress
author | svnowner |
---|---|
date | Sat, 25 Sep 2004 22:33:30 +0000 |
parents | |
children | 3414705c41ac |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3269e4627918 |
---|---|
1 // $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/nocompile/super_04.d,v 1.1 2004/08/21 20:45:46 th Exp $ | |
2 | |
3 int x; | |
4 struct MyStruct{ | |
5 int x; | |
6 void test(){ | |
7 super.x=1; | |
8 } | |
9 } | |
10 | |
11 int main(){ | |
12 MyStruct c; | |
13 c.test(); | |
14 return 0; | |
15 } |