source: tests/raii/.expect/memberCtors.txt @ 75ca7f4

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 75ca7f4 was a42a654, checked in by Rob Schluntz <rschlunt@…>, 6 years ago

Update memberCtors test to add more information

  • Property mode set to 100644
File size: 5.4 KB
RevLine 
[44f6341]1Before declaration of b1
[a42a654]2constructing int id: 0
3constructing int id: 1
4constructing int id: 2
5default construct A 0
6constructing int id: 3
7constructing int id: 4
8constructing int id: 5
9default construct A 1
10begin construct B id: 0
[1461809]11assign b.a2
[a42a654]12constructing int id: 6
13constructing int id: 7
14begin construct A id: 2
[1461809]15construct a.x
[a42a654]16constructing int: 1001 id: 8
[1461809]17assign a.y
[a42a654]18assigning int: 0 0 id: 6
[f7e749f]19end construct A
[a42a654]20copy constructing int: 0 id: 9
21copy constructing int: 0 id: 10
22begin copy construct A id: 3
[1461809]23copy construct this.x
[a42a654]24copy constructing int: 1001 id: 11
[1461809]25assign this.y
[a42a654]26copy constructing int: 0 id: 12
27destructing int: 0 id: 12
28destructing int: 0 id: 12
[ddbde34]29end copy construct A
[a42a654]30begin ?=? A id: 0
31copy constructing int: 1001 id: 13
32destructing int: 1001 id: 13
33destructing int: 1001 id: 13
34copy constructing int: 0 id: 14
35destructing int: 0 id: 14
36destructing int: 0 id: 14
37copy constructing int: 0 id: 15
38destructing int: 0 id: 15
39destructing int: 0 id: 15
[ddbde34]40end ?=? A
[a42a654]41copy constructing int: 0 id: 16
42copy constructing int: 0 id: 17
43begin copy construct A id: 4
[1461809]44copy construct this.x
[a42a654]45copy constructing int: 1001 id: 18
[1461809]46assign this.y
[a42a654]47copy constructing int: 0 id: 19
48destructing int: 0 id: 19
49destructing int: 0 id: 19
[ddbde34]50end copy construct A
[a42a654]51destructing int: 0 id: 17
52destructing int: 0 id: 19
53destructing int: 1001 id: 18
54destructing int: 0 id: 10
55destructing int: 0 id: 12
56destructing int: 1001 id: 11
[1461809]57construct b.a1
[a42a654]58constructing int id: 20
59constructing int id: 21
60begin construct A id: 5
[1461809]61construct a.x
[a42a654]62constructing int: 1000 id: 22
[1461809]63assign a.y
[a42a654]64assigning int: 0 0 id: 20
[f7e749f]65end construct A
66end construct B
[a42a654]67destructing int: 0 id: 7
68destructing int: 0 id: 6
69destructing int: 1001 id: 8
[44f6341]70Before declaration of b2
[a42a654]71copy constructing int: 0 id: 23
72copy constructing int: 0 id: 24
73begin copy construct A id: 6
[1461809]74copy construct this.x
[a42a654]75copy constructing int: 1000 id: 25
[1461809]76assign this.y
[a42a654]77copy constructing int: 0 id: 26
78destructing int: 0 id: 26
79destructing int: 0 id: 26
[f7e749f]80end copy construct A
[a42a654]81copy constructing int: 0 id: 27
82copy constructing int: 0 id: 28
83begin copy construct A id: 7
[1461809]84copy construct this.x
[a42a654]85copy constructing int: 1001 id: 29
[1461809]86assign this.y
[a42a654]87copy constructing int: 0 id: 30
88destructing int: 0 id: 30
89destructing int: 0 id: 30
[f7e749f]90end copy construct A
[a42a654]91copy constructing int: 0 id: 31
92copy constructing int: 0 id: 32
93begin copy construct A id: 8
[1461809]94copy construct this.x
[a42a654]95copy constructing int: 0 id: 33
[1461809]96assign this.y
[a42a654]97copy constructing int: 0 id: 34
98destructing int: 0 id: 34
99destructing int: 0 id: 34
[f7e749f]100end copy construct A
[44f6341]101End of main
[a42a654]102begin destruct B id: 1
103constructing int id: 35
104constructing int id: 36
105begin construct A id: 9
[1461809]106construct a.x
[a42a654]107constructing int: 999 id: 37
[1461809]108assign a.y
[a42a654]109assigning int: 0 0 id: 35
[f7e749f]110end construct A
[a42a654]111copy constructing int: 0 id: 38
112copy constructing int: 0 id: 39
113begin copy construct A id: 10
[1461809]114copy construct this.x
[a42a654]115copy constructing int: 999 id: 40
[1461809]116assign this.y
[a42a654]117copy constructing int: 0 id: 41
118destructing int: 0 id: 41
119destructing int: 0 id: 41
[ddbde34]120end copy construct A
[a42a654]121begin ?=? A id: 7
122copy constructing int: 999 id: 42
123destructing int: 999 id: 42
124destructing int: 999 id: 42
125copy constructing int: 0 id: 43
126destructing int: 0 id: 43
127destructing int: 0 id: 43
128copy constructing int: 0 id: 44
129destructing int: 0 id: 44
130destructing int: 0 id: 44
[ddbde34]131end ?=? A
[a42a654]132copy constructing int: 0 id: 45
133copy constructing int: 0 id: 46
134begin copy construct A id: 11
[1461809]135copy construct this.x
[a42a654]136copy constructing int: 999 id: 47
[1461809]137assign this.y
[a42a654]138copy constructing int: 0 id: 48
139destructing int: 0 id: 48
140destructing int: 0 id: 48
[ddbde34]141end copy construct A
[a42a654]142destructing int: 0 id: 46
143destructing int: 0 id: 48
144destructing int: 999 id: 47
145destructing int: 0 id: 39
146destructing int: 0 id: 41
147destructing int: 999 id: 40
148destructing int: 0 id: 24
149destructing int: 0 id: 26
150destructing int: 1000 id: 25
[72f85de]151end destruct B
[a42a654]152destructing int: 0 id: 36
153destructing int: 0 id: 35
154destructing int: 999 id: 37
155destructing int: 0 id: 32
156destructing int: 0 id: 34
157destructing int: 0 id: 33
158destructing int: 0 id: 44
159destructing int: 0 id: 43
160destructing int: 999 id: 42
161begin destruct B id: 2
162constructing int id: 49
163constructing int id: 50
164begin construct A id: 12
[1461809]165construct a.x
[a42a654]166constructing int: 999 id: 51
[1461809]167assign a.y
[a42a654]168assigning int: 0 0 id: 49
[f7e749f]169end construct A
[a42a654]170copy constructing int: 0 id: 52
171copy constructing int: 0 id: 53
172begin copy construct A id: 13
[1461809]173copy construct this.x
[a42a654]174copy constructing int: 999 id: 54
[1461809]175assign this.y
[a42a654]176copy constructing int: 0 id: 55
177destructing int: 0 id: 55
178destructing int: 0 id: 55
[ddbde34]179end copy construct A
[a42a654]180begin ?=? A id: 0
181copy constructing int: 999 id: 56
182destructing int: 999 id: 56
183destructing int: 999 id: 56
184copy constructing int: 0 id: 57
185destructing int: 0 id: 57
186destructing int: 0 id: 57
187copy constructing int: 0 id: 58
188destructing int: 0 id: 58
189destructing int: 0 id: 58
[ddbde34]190end ?=? A
[a42a654]191copy constructing int: 0 id: 59
192copy constructing int: 0 id: 60
193begin copy construct A id: 14
[1461809]194copy construct this.x
[a42a654]195copy constructing int: 999 id: 61
[1461809]196assign this.y
[a42a654]197copy constructing int: 0 id: 62
198destructing int: 0 id: 62
199destructing int: 0 id: 62
[ddbde34]200end copy construct A
[a42a654]201destructing int: 0 id: 60
202destructing int: 0 id: 62
203destructing int: 999 id: 61
204destructing int: 0 id: 53
205destructing int: 0 id: 55
206destructing int: 999 id: 54
207destructing int: 0 id: 21
208destructing int: 0 id: 20
209destructing int: 1000 id: 22
[72f85de]210end destruct B
[a42a654]211destructing int: 0 id: 50
212destructing int: 0 id: 49
213destructing int: 999 id: 51
214destructing int: 0 id: 5
215destructing int: 0 id: 4
216destructing int: 0 id: 3
217destructing int: 0 id: 58
218destructing int: 0 id: 57
219destructing int: 999 id: 56
Note: See TracBrowser for help on using the repository browser.