source:
doc/theses/rob_schluntz_MMath/examples/ctor/cv_ctor.c
@
e9c5db2
Last change on this file since e9c5db2 was 67982887, checked in by , 6 years ago | |
---|---|
|
|
File size: 159 bytes |
Line | |
---|---|
1 | struct S { int i; }; |
2 | void ?{}(S *, int); |
3 | void ?{}(S *, S); |
4 | |
5 | int main() { |
6 | const int i = 5; |
7 | volatile int j = i; |
8 | const S s = { 11 }; |
9 | volatile S s2 = s; |
10 | } |
Note: See TracBrowser
for help on using the repository browser.