Changeset 1461809
 Timestamp:
 Jul 28, 2017, 11:21:23 AM (7 years ago)
 Branches:
 ADT, aaronthesis, armeh, astexperimental, cleanupdtors, deferred_resn, demangler, enum, forallpointerdecay, jacob/cs343translation, jenkinssandbox, master, newast, newastuniqueexpr, newenv, no_list, persistentindexer, pthreademulation, qualifiedEnum, resolvnew, with_gc
 Children:
 4618319
 Parents:
 175ad32
 Location:
 src/tests/.expect
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

src/tests/.expect/memberCtorsERR1.txt
r175ad32 r1461809 1 memberCtors.c:71 error: in void ?{}(B *b), field a2 used before being constructed1 memberCtors.c:71 error: in void ?{}(B &b), field a2 used before being constructed 
src/tests/.expect/memberCtors.txt
r175ad32 r1461809 7 7 constructing int 8 8 begin construct B 9 assign b >a210 constructing int 11 constructing int 12 begin construct A 13 construct a >x9 assign b.a2 10 constructing int 11 constructing int 12 begin construct A 13 construct a.x 14 14 constructing int: 1001 15 assign a >y16 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 >x22 copy constructing int: 1001 23 assign this >y15 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 24 24 copy constructing int: 0 25 25 destructing int: 0 … … 40 40 copy constructing int: 0 41 41 begin copy construct A 42 copy construct this >x43 copy constructing int: 1001 44 assign this >y45 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 >a156 constructing int 57 constructing int 58 begin construct A 59 construct a >x42 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 60 60 constructing int: 1000 61 assign a >y61 assign a.y 62 62 assigning int: 0 0 63 63 end construct A … … 70 70 copy constructing int: 0 71 71 begin copy construct A 72 copy construct this >x72 copy construct this.x 73 73 copy constructing int: 1000 74 assign this >y75 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 >x83 copy constructing int: 1001 84 assign this >y85 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 >x93 copy constructing int: 0 94 assign this >y74 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 95 95 copy constructing int: 0 96 96 destructing int: 0 … … 101 101 constructing int 102 102 begin construct A 103 construct a >x103 construct a.x 104 104 constructing int: 999 105 assign a >y106 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 >x112 copy constructing int: 999 113 assign this >y105 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 114 114 copy constructing int: 0 115 115 destructing int: 0 … … 130 130 copy constructing int: 0 131 131 begin copy construct A 132 copy construct this >x133 copy constructing int: 999 134 assign this >y132 copy construct this.x 133 copy constructing int: 999 134 assign this.y 135 135 copy constructing int: 0 136 136 destructing int: 0 … … 158 158 constructing int 159 159 begin construct A 160 construct a >x160 construct a.x 161 161 constructing int: 999 162 assign a >y163 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 >x169 copy constructing int: 999 170 assign this >y162 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 171 171 copy constructing int: 0 172 172 destructing int: 0 … … 187 187 copy constructing int: 0 188 188 begin copy construct A 189 copy construct this >x190 copy constructing int: 999 191 assign this >y189 copy construct this.x 190 copy constructing int: 999 191 assign this.y 192 192 copy constructing int: 0 193 193 destructing int: 0
Note: See TracChangeset
for help on using the changeset viewer.