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

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since a28bc02 was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 9 years ago

add thesis source

  • Property mode set to 100644
File size: 165 bytes
Line 
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.