Mercurial > projects > dstress
annotate nocompile/alias_05.d @ 567:4c83f19a8301
removed dead code
author | thomask |
---|---|
date | Sat, 04 Jun 2005 18:37:55 +0000 |
parents | 1f6cf5ccfbc9 |
children | 9a121126b077 |
rev | line source |
---|---|
338 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // __DSTRESS__ELINE__ 12 | |
6 | |
70
5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents:
1
diff
changeset
|
7 module dstress.nocompile.alias_05; |
0 | 8 |
9 alias int myint; | |
10 | |
11 void foo(int x) { } | |
12 void foo(myint m) { } // error, multiply defined function foo |