source: tests/raii/.expect/memberCtors.txt @ 1c80f20

ADTast-experimental
Last change on this file since 1c80f20 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
Line 
1Before declaration of b1
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
11assign b.a2
12constructing int id: 6
13constructing int id: 7
14begin construct A id: 2
15construct a.x
16constructing int: 1001 id: 8
17assign a.y
18assigning int: 0 0 id: 6
19end construct A
20copy constructing int: 0 id: 9
21copy constructing int: 0 id: 10
22begin copy construct A id: 3
23copy construct this.x
24copy constructing int: 1001 id: 11
25assign this.y
26copy constructing int: 0 id: 12
27destructing int: 0 id: 12
28destructing int: 0 id: 12
29end copy construct A
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
40end ?=? A
41copy constructing int: 0 id: 16
42copy constructing int: 0 id: 17
43begin copy construct A id: 4
44copy construct this.x
45copy constructing int: 1001 id: 18
46assign this.y
47copy constructing int: 0 id: 19
48destructing int: 0 id: 19
49destructing int: 0 id: 19
50end copy construct A
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
57construct b.a1
58constructing int id: 20
59constructing int id: 21
60begin construct A id: 5
61construct a.x
62constructing int: 1000 id: 22
63assign a.y
64assigning int: 0 0 id: 20
65end construct A
66end construct B
67destructing int: 0 id: 7
68destructing int: 0 id: 6
69destructing int: 1001 id: 8
70Before declaration of b2
71copy constructing int: 0 id: 23
72copy constructing int: 0 id: 24
73begin copy construct A id: 6
74copy construct this.x
75copy constructing int: 1000 id: 25
76assign this.y
77copy constructing int: 0 id: 26
78destructing int: 0 id: 26
79destructing int: 0 id: 26
80end copy construct A
81copy constructing int: 0 id: 27
82copy constructing int: 0 id: 28
83begin copy construct A id: 7
84copy construct this.x
85copy constructing int: 1001 id: 29
86assign this.y
87copy constructing int: 0 id: 30
88destructing int: 0 id: 30
89destructing int: 0 id: 30
90end copy construct A
91copy constructing int: 0 id: 31
92copy constructing int: 0 id: 32
93begin copy construct A id: 8
94copy construct this.x
95copy constructing int: 0 id: 33
96assign this.y
97copy constructing int: 0 id: 34
98destructing int: 0 id: 34
99destructing int: 0 id: 34
100end copy construct A
101End of main
102begin destruct B id: 1
103constructing int id: 35
104constructing int id: 36
105begin construct A id: 9
106construct a.x
107constructing int: 999 id: 37
108assign a.y
109assigning int: 0 0 id: 35
110end construct A
111copy constructing int: 0 id: 38
112copy constructing int: 0 id: 39
113begin copy construct A id: 10
114copy construct this.x
115copy constructing int: 999 id: 40
116assign this.y
117copy constructing int: 0 id: 41
118destructing int: 0 id: 41
119destructing int: 0 id: 41
120end copy construct A
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
131end ?=? A
132copy constructing int: 0 id: 45
133copy constructing int: 0 id: 46
134begin copy construct A id: 11
135copy construct this.x
136copy constructing int: 999 id: 47
137assign this.y
138copy constructing int: 0 id: 48
139destructing int: 0 id: 48
140destructing int: 0 id: 48
141end copy construct A
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
151end destruct B
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
165construct a.x
166constructing int: 999 id: 51
167assign a.y
168assigning int: 0 0 id: 49
169end construct A
170copy constructing int: 0 id: 52
171copy constructing int: 0 id: 53
172begin copy construct A id: 13
173copy construct this.x
174copy constructing int: 999 id: 54
175assign this.y
176copy constructing int: 0 id: 55
177destructing int: 0 id: 55
178destructing int: 0 id: 55
179end copy construct A
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
190end ?=? A
191copy constructing int: 0 id: 59
192copy constructing int: 0 id: 60
193begin copy construct A id: 14
194copy construct this.x
195copy constructing int: 999 id: 61
196assign this.y
197copy constructing int: 0 id: 62
198destructing int: 0 id: 62
199destructing int: 0 id: 62
200end copy construct A
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
210end destruct B
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.