source: doc/theses/rob_schluntz_MMath/examples/ctor/copy_ctor.c

Last change on this file was 67982887, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

specialize thesis directory-names

  • 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.