source: doc/rob_thesis/examples/ctor/copy_ctor.c@ 3eab308c

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 3eab308c was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 9 years ago

add thesis source

  • Property mode set to 100644
File size: 130 bytes
Line 
1struct A;
2void ?{}(A *);
3void ?{}(A *, A);
4void ^?{}(A *);
5
6A f(A x) {
7 return x;
8}
9
10int main() {
11 A y, z @= {};
12 f(y);
13 f(z);
14}
Note: See TracBrowser for help on using the repository browser.