Changeset 1461809


Ignore:
Timestamp:
Jul 28, 2017, 11:21:23 AM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
4618319
Parents:
175ad32
Message:

Update output for memberCtor tests

Location:
src/tests/.expect
Files:
2 edited

Legend:

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

    r175ad32 r1461809  
    1 memberCtors.c:71 error: in void ?{}(B *b), field a2 used before being constructed
     1memberCtors.c:71 error: in void ?{}(B &b), field a2 used before being constructed
  • src/tests/.expect/memberCtors.txt

    r175ad32 r1461809  
    77constructing int
    88begin construct B
    9 assign b->a2
    10 constructing int
    11 constructing int
    12 begin construct A
    13 construct a->x
     9assign b.a2
     10constructing int
     11constructing int
     12begin construct A
     13construct a.x
    1414constructing int: 1001
    15 assign a->y
    16 assigning int: 0 0
    17 end construct A
    18 copy constructing int: 0
    19 copy constructing int: 0
    20 begin copy construct A
    21 copy construct this->x
    22 copy constructing int: 1001
    23 assign this->y
     15assign a.y
     16assigning int: 0 0
     17end construct A
     18copy constructing int: 0
     19copy constructing int: 0
     20begin copy construct A
     21copy construct this.x
     22copy constructing int: 1001
     23assign this.y
    2424copy constructing int: 0
    2525destructing int: 0
     
    4040copy constructing int: 0
    4141begin copy construct A
    42 copy construct this->x
    43 copy constructing int: 1001
    44 assign this->y
    45 copy constructing int: 0
    46 destructing int: 0
    47 destructing int: 0
    48 end copy construct A
    49 destructing int: 0
    50 destructing int: 0
    51 destructing int: 1001
    52 destructing int: 0
    53 destructing int: 0
    54 destructing int: 1001
    55 construct b->a1
    56 constructing int
    57 constructing int
    58 begin construct A
    59 construct a->x
     42copy construct this.x
     43copy constructing int: 1001
     44assign this.y
     45copy constructing int: 0
     46destructing int: 0
     47destructing int: 0
     48end copy construct A
     49destructing int: 0
     50destructing int: 0
     51destructing int: 1001
     52destructing int: 0
     53destructing int: 0
     54destructing int: 1001
     55construct b.a1
     56constructing int
     57constructing int
     58begin construct A
     59construct a.x
    6060constructing int: 1000
    61 assign a->y
     61assign a.y
    6262assigning int: 0 0
    6363end construct A
     
    7070copy constructing int: 0
    7171begin copy construct A
    72 copy construct this->x
     72copy construct this.x
    7373copy constructing int: 1000
    74 assign this->y
    75 copy constructing int: 0
    76 destructing int: 0
    77 destructing int: 0
    78 end copy construct A
    79 copy constructing int: 0
    80 copy constructing int: 0
    81 begin copy construct A
    82 copy construct this->x
    83 copy constructing int: 1001
    84 assign this->y
    85 copy constructing int: 0
    86 destructing int: 0
    87 destructing int: 0
    88 end copy construct A
    89 copy constructing int: 0
    90 copy constructing int: 0
    91 begin copy construct A
    92 copy construct this->x
    93 copy constructing int: 0
    94 assign this->y
     74assign this.y
     75copy constructing int: 0
     76destructing int: 0
     77destructing int: 0
     78end copy construct A
     79copy constructing int: 0
     80copy constructing int: 0
     81begin copy construct A
     82copy construct this.x
     83copy constructing int: 1001
     84assign this.y
     85copy constructing int: 0
     86destructing int: 0
     87destructing int: 0
     88end copy construct A
     89copy constructing int: 0
     90copy constructing int: 0
     91begin copy construct A
     92copy construct this.x
     93copy constructing int: 0
     94assign this.y
    9595copy constructing int: 0
    9696destructing int: 0
     
    101101constructing int
    102102begin construct A
    103 construct a->x
     103construct a.x
    104104constructing int: 999
    105 assign a->y
    106 assigning int: 0 0
    107 end construct A
    108 copy constructing int: 0
    109 copy constructing int: 0
    110 begin copy construct A
    111 copy construct this->x
    112 copy constructing int: 999
    113 assign this->y
     105assign a.y
     106assigning int: 0 0
     107end construct A
     108copy constructing int: 0
     109copy constructing int: 0
     110begin copy construct A
     111copy construct this.x
     112copy constructing int: 999
     113assign this.y
    114114copy constructing int: 0
    115115destructing int: 0
     
    130130copy constructing int: 0
    131131begin copy construct A
    132 copy construct this->x
    133 copy constructing int: 999
    134 assign this->y
     132copy construct this.x
     133copy constructing int: 999
     134assign this.y
    135135copy constructing int: 0
    136136destructing int: 0
     
    158158constructing int
    159159begin construct A
    160 construct a->x
     160construct a.x
    161161constructing int: 999
    162 assign a->y
    163 assigning int: 0 0
    164 end construct A
    165 copy constructing int: 0
    166 copy constructing int: 0
    167 begin copy construct A
    168 copy construct this->x
    169 copy constructing int: 999
    170 assign this->y
     162assign a.y
     163assigning int: 0 0
     164end construct A
     165copy constructing int: 0
     166copy constructing int: 0
     167begin copy construct A
     168copy construct this.x
     169copy constructing int: 999
     170assign this.y
    171171copy constructing int: 0
    172172destructing int: 0
     
    187187copy constructing int: 0
    188188begin copy construct A
    189 copy construct this->x
    190 copy constructing int: 999
    191 assign this->y
     189copy construct this.x
     190copy constructing int: 999
     191assign this.y
    192192copy constructing int: 0
    193193destructing int: 0
Note: See TracChangeset for help on using the changeset viewer.