source: doc/rob_thesis/examples/ctor/cv_ctor.c @ f5abbd7

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since f5abbd7 was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

add thesis source

  • Property mode set to 100644
File size: 159 bytes
Line 
1struct S { int i; };
2void ?{}(S *, int);
3void ?{}(S *, S);
4
5int 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.