annotate nocompile/overload_12.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents d3a3e0c251d8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
230
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
1 // $HeadURL$
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
2 // $Date$
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
3 // $Author$
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
4
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
5 // @author@ D Trebbien <D_member@pathlink.com>
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
6 // @date@ 2005-01-07
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
7 // @uri@ news:crmrb6$2slf$1@digitaldaemon.com
1384
d3a3e0c251d8 nntp: -> http:
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2649
230
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
9
374
f87ba6507260 added missing meta-data
thomask
parents: 231
diff changeset
10 // __DSTRESS_ELINE__ 26
f87ba6507260 added missing meta-data
thomask
parents: 231
diff changeset
11
231
a332eed5d52c fixed location of overload_11 and overload_12
thomask
parents: 230
diff changeset
12 module dstress.nocompile.overload_12;
230
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
13
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
14 class A{
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
15 void test(int val){
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
16 }
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
17 }
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
18
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
19 class B : A{
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
20 void test(){
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
21 }
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
22 }
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
23
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
24 int main(){
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
25 B b = new B();
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
26 b.test(1);
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
27 b.test();
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
28 return 0;
843ded73c800 class inheritance / function overload bug
thomask
parents:
diff changeset
29 }