| 1 | (* Words that aren't reserved are names, and a predeclared name may be |
| 2 | declared again, which hides it in its scope. *) |
| 3 | module Names; |
| 4 | import Out; |
| 5 | |
| 6 | type U8 = I64; |
| 7 | |
| 8 | var static, check, off, volatile: INT; |
| 9 | big: U8; |
| 10 | |
| 11 | proc main*; |
| 12 | var true: INT; |
| 13 | begin |
| 14 | static := 1; check := 2; off := 3; volatile := 4; true := 5; |
| 15 | big := 300; |
| 16 | Out.int(static + check + off + volatile + true); Out.ln; |
| 17 | Out.int(big); Out.char(' '); Out.int(SIZE(U8)); Out.ln; |
| 18 | end; |
| 19 | |
| 20 | end Names. |