source: doc/rob_thesis/examples/tuples/assign.c @ bff09c8

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 bff09c8 was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

add thesis source

  • Property mode set to 100644
File size: 165 bytes
RevLine 
[9c14ae9]1int x, z;
2double y;
3[double, double] f();
4
5int main () {
6  [x, y, z] = [f(), 3];       // multiple assignment
7  // [x, y, z] = 1.5;            // mass assignment
8}
9
Note: See TracBrowser for help on using the repository browser.