Mercurial > projects > dstress
changeset 106:520c58cefbfd
larrycowan <larrycowan_member@pathlink.com> news://cmd9i4$16g5$1@digitaldaemon.com nttp://digitalmars.com/digitalmars.D:12279
Note: the return code of this compiler crash is 1(one), this isn't detected by dstress
author | thomask |
---|---|
date | Thu, 04 Nov 2004 13:49:15 +0000 |
parents | 8b0bc8d5c58e |
children | 23f362b08087 |
files | nocompile/bug_e2ir_814.d |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_e2ir_814.d Thu Nov 04 13:49:15 2004 +0000 @@ -0,0 +1,17 @@ +// @author@ larrycowan <larrycowan_member@pathlink.com> +// @date@ 2004-11-04 +// @uri@ news://cmd9i4$16g5$1@digitaldaemon.com +// @url@ nttp://digitalmars.com/digitalmars.D:12279 + +static void dummy(...){ +} + +class Foo : Object{ + static this(){ + Foo.display_name(); + } + + void display_name(){ + dummy(super.classinfo.name); + } +}