annotate nocompile/alias_05.d @ 338:1f6cf5ccfbc9

1) updated rules to dmd-0.119 2) added __DSTRESS_ELINE__ tags
author thomask
date Mon, 21 Mar 2005 20:45:57 +0000
parents 5f98d4a33d49
children 4c83f19a8301
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 70
diff changeset
1 // $HeadURL$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 70
diff changeset
2 // $Date$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 70
diff changeset
3 // $Author$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 70
diff changeset
4
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 70
diff changeset
5 // __DSTRESS__ELINE__ 12
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 70
diff changeset
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
3269e4627918 init dstress
svnowner
parents:
diff changeset
8
3269e4627918 init dstress
svnowner
parents:
diff changeset
9 alias int myint;
3269e4627918 init dstress
svnowner
parents:
diff changeset
10
3269e4627918 init dstress
svnowner
parents:
diff changeset
11 void foo(int x) { }
3269e4627918 init dstress
svnowner
parents:
diff changeset
12 void foo(myint m) { } // error, multiply defined function foo
3269e4627918 init dstress
svnowner
parents:
diff changeset
13
3269e4627918 init dstress
svnowner
parents:
diff changeset
14 int main(char[][] args){
3269e4627918 init dstress
svnowner
parents:
diff changeset
15 myint a;
3269e4627918 init dstress
svnowner
parents:
diff changeset
16 return a;
3269e4627918 init dstress
svnowner
parents:
diff changeset
17 }