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:
136 bytes
|
Line | |
---|
1 | typedef [int x, int y] Point2D;
|
---|
2 | Point2D p1, p2;
|
---|
3 | int 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.