source:
doc/theses/rob_schluntz/examples/ctor/cv_ctor.c@
34dcc474
Last change on this file since 34dcc474 was 728df66, checked in by , 8 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.