Mercurial > projects > dstress
annotate nocompile/alias_05.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | 9a121126b077 |
children |
rev | line source |
---|---|
338 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
756 | 5 // __DSTRESS_ELINE__ 14 |
338 | 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 | |
756 | 11 void foo(int x) { |
12 } | |
13 | |
14 void foo(myint m) { // error, multiply defined function foo | |
15 } |