Ignore:
Timestamp:
Sep 2, 2016, 1:30:36 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
85517ddb
Parents:
4d4882a
git-author:
Rob Schluntz <rschlunt@…> (09/01/16 17:14:32)
git-committer:
Rob Schluntz <rschlunt@…> (09/02/16 13:30:36)
Message:

fix implicit member ctor/dtor generation order, fix corresponding test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/memberCtors.txt

    r4d4882a r44f6341  
     1Before declaration of b1
    12constructing int
    23constructing int
     
    1617destructing int: 0
    1718destructing int: 1001
     19Before declaration of b2
    1820copy constructing int: 0
    1921copy constructing int: 0
     
    2527copy constructing int: 0
    2628copy constructing int: 0
     29End of main
    2730constructing int
    2831constructing int
     
    3740destructing int: 0
    3841destructing int: 0
    39 destructing int: 999
    4042destructing int: 0
    4143destructing int: 0
    4244destructing int: 0
     45destructing int: 999
    4346constructing int
    4447constructing int
     
    5356destructing int: 0
    5457destructing int: 0
    55 destructing int: 999
    5658destructing int: 0
    5759destructing int: 0
    5860destructing int: 0
     61destructing int: 999
Note: See TracChangeset for help on using the changeset viewer.