Mercurial > projects > dstress
view run/opCast_01.d @ 1:3414705c41ac
removed CVS header
author | thomask |
---|---|
date | Sun, 26 Sep 2004 12:06:09 +0000 |
parents | 3269e4627918 |
children | 33a25c1e1cfc |
line wrap: on
line source
// @author@ Carlos Santander B. <carlos8294@msn.com> // @author@ 2004-09-18 class Parent{ void test(int i){ } } class Child : Parent{ int opCast(){ return 0; } } int main(){ (new Child).test=2; return 0; }