Mercurial > projects > dstress
annotate nocompile/alias_05.d @ 70:5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
2) updated todo
author | thomask |
---|---|
date | Sat, 23 Oct 2004 22:47:47 +0000 |
parents | 3414705c41ac |
children | 1f6cf5ccfbc9 |
rev | line source |
---|---|
70
5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents:
1
diff
changeset
|
1 module dstress.nocompile.alias_05; |
0 | 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 } |