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 ad4d035 was
9c14ae9,
checked in by Rob Schluntz <rschlunt@…>, 8 years ago
|
add thesis source
|
-
Property mode set to
100644
|
File size:
130 bytes
|
Line | |
---|
1 | struct A; |
---|
2 | void ?{}(A *); |
---|
3 | void ?{}(A *, A); |
---|
4 | void ^?{}(A *); |
---|
5 | |
---|
6 | A f(A x) { |
---|
7 | return x; |
---|
8 | } |
---|
9 | |
---|
10 | int main() { |
---|
11 | A y, z @= {}; |
---|
12 | f(y); |
---|
13 | f(z); |
---|
14 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.