ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since f4a6101 was
728df66,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
more documentation name changes
|
-
Property mode set to
100644
|
File size:
342 bytes
|
Line | |
---|
1 | struct A; |
---|
2 | void ?{}(A *); |
---|
3 | void ^?{}(A *); |
---|
4 | |
---|
5 | void f(int i) { |
---|
6 | A x; // construct x |
---|
7 | { |
---|
8 | A y; // construct y |
---|
9 | { |
---|
10 | A z; // construct z |
---|
11 | { |
---|
12 | if (i == 0) return; // destruct x, y, z |
---|
13 | } |
---|
14 | if (i == 1) return; // destruct x, y, z |
---|
15 | // destruct z |
---|
16 | } |
---|
17 | if (i == 2) return; // destruct x, y |
---|
18 | // destruct y |
---|
19 | } |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.