source:
doc/theses/rob_schluntz_MMath/examples/ctor/copy_ctor.c
@
b965774
Last change on this file since b965774 was 67982887, checked in by , 6 years ago | |
---|---|
|
|
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.