Mercurial > projects > dstress
diff run/alias_04.d @ 1559:ec5e144583ea
D1 -> D2 : 1/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:11:54 +0000 |
parents | f87ba6507260 |
children |
line wrap: on
line diff
--- a/run/alias_04.d Mon Jul 23 18:47:01 2007 +0000 +++ b/run/alias_04.d Sun Aug 19 19:11:54 2007 +0000 @@ -24,7 +24,11 @@ int main(){ D d = new D(); - assert(d.foo(1, 2u) == 2); // calls B.foo - assert(d.foo(1) == 3); // calls C.foo + if(d.foo(1, 2u) != 2){ + assert(0); + } + if(d.foo(1) != 3){ + assert(0); + } return 0; }