Mercurial > projects > dstress
view nocompile/cast_03.d @ 1:3414705c41ac
removed CVS header
author | thomask |
---|---|
date | Sun, 26 Sep 2004 12:06:09 +0000 |
parents | 3269e4627918 |
children | a33ad7189d21 |
line wrap: on
line source
// @author@ Walter <newshound@digitalmars.com> // @date@ 2004-08-16 // @uri@ news://cfpk7u$1qgs$1@digitaldaemon.com interface MyInterface{ } class MyClass : MyInterface { } int main(){ MyClass c; c = new MyClass(); MyInterface i; i = c; Object o; o = i; return 0; }