source:
doc/theses/rob_schluntz_MMath/examples/ctor/cv_ctor.c
@
b965774
Last change on this file since b965774 was 67982887, checked in by , 6 years ago | |
---|---|
|
|
File size: 159 bytes |
Rev | Line | |
---|---|---|
[9c14ae9] | 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.