# HG changeset patch # User thomask # Date 1144524057 0 # Node ID 12cfdd8bffb5d15022d5907cbbc2e807bf296e71 # Parent b0772904ed4e2ed674c3d17beb6c548475d3e64c added "b->type->ty == Tclass" version diff -r b0772904ed4e -r 12cfdd8bffb5 complex/object_02/a.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/complex/object_02/a.d Sat Apr 08 19:20:57 2006 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ +// @date@ 2006-04-07 +// @uri@ news:bug-90-3@http.d.puremagic.com/bugzilla/ + +class X{ + int i; +} + +int main(){ + return 0; +} diff -r b0772904ed4e -r 12cfdd8bffb5 complex/object_02/complex.mak --- a/complex/object_02/complex.mak Sat Apr 08 19:09:20 2006 +0000 +++ b/complex/object_02/complex.mak Sat Apr 08 19:20:57 2006 +0000 @@ -27,6 +27,7 @@ complex/object_02/dest = \ complex/object_02/object_02_A + complex/object_02/object_02_B # the actual target, will be called by root's "all" / "complex" target complex/object_02/$(complex_done) : $(complex/object_02/dest) $(return__) $(ifeq__) @@ -34,7 +35,7 @@ # # compile or nocompile but don't crash # -complex/object_02/object_02 : complex/object_02/object.d $(return__) $(ifeq__) +complex/object_02/object_02_A : complex/object_02/object.d $(return__) $(ifeq__) @$(RM) -f complex/object_02/*.o $(eval z_name = $@) $(eval z_return = $(shell cd complex/object_02; $(return__) "$(DMD) $(DFLAGS) -od$(OBJ_DIR) object.d $(to_log)")) @@ -48,6 +49,20 @@ fi \ fi +complex/object_02/object_02_B : complex/object_02/a.d $(return__) $(ifeq__) + @$(RM) -f complex/object_02/*.o + $(eval z_name = $@) + $(eval z_return = $(shell cd complex/object_02; $(return__) "$(DMD) $(DFLAGS) -od$(OBJ_DIR) a.d $(to_log)")) + @if $(ifeq__) $(z_return) 0; then \ + $(ECHO) "Torture-Sub-1/31-PASS: $(z_name)"; \ + else \ + if $(ifeq__) $(z_return) 256; then \ + $(ECHO) "Torture-Sub-1/31-PASS: $(z_name)"; \ + else \ + $(ECHO) "Torture-Sub-1/31-ERROR: $(z_name)"; \ + fi \ + fi + # # cleanup #