source: doc/theses/rob_schluntz_MMath/examples/tuples/assign.c@ 2b10f95

ADT arm-eh ast-experimental cleanup-dtors enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 2b10f95 was 67982887, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

specialize thesis directory-names

  • 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.