source: doc/rob_thesis/examples/tuples/named.c @ 35dd0f42

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 35dd0f42 was 7493339, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

incorporate Peter's feedback, handle many TODOs

  • Property mode set to 100644
File size: 136 bytes
Line 
1typedef [int x, int y] Point2D;
2Point2D p1, p2;
3int main() {
4  p1.x + p1.y + p2.x + p2.y;
5  p1.0 + p1.1 + p2.0 + p2.1;  // equivalent
6}
Note: See TracBrowser for help on using the repository browser.