Mercurial > projects > dstress
annotate nocompile/alias_05.d @ 0:3269e4627918
init dstress
author | svnowner |
---|---|
date | Sat, 25 Sep 2004 22:33:30 +0000 |
parents | |
children | 3414705c41ac |
rev | line source |
---|---|
0 | 1 // $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/nocompile/alias_05.d,v 1.1 2004/08/20 23:42:43 th Exp $ |
2 | |
3 alias int myint; | |
4 | |
5 void foo(int x) { } | |
6 void foo(myint m) { } // error, multiply defined function foo | |
7 | |
8 int main(char[][] args){ | |
9 myint a; | |
10 return a; | |
11 } |