source:
doc/theses/jiada_liang_MMath/test3.cfa
@
a03ed29
Last change on this file since a03ed29 was 1725989, checked in by , 5 months ago | |
---|---|
|
|
File size: 182 bytes |
Line | |
---|---|
1 | enum Week ! { Mon, Tue, Wed, Thu = 10, Fri, Sat, Sun }; |
2 | enum RGB ! { Red, Green, Blue }; |
3 | void foo() { |
4 | Week week = Week.Mon; |
5 | week = Week.Sat; |
6 | RGB rgb = RGB.Red; |
7 | rgb = RGB.Blue; |
8 | } |
Note: See TracBrowser
for help on using the repository browser.