source: doc/rob_thesis/examples/ctor/cv_ctor.c @ 9a9a5c4

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 9a9a5c4 was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 7 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.