source:
doc/theses/jiada_liang_MMath/test3.cfa
@
1842167
Last change on this file since 1842167 was 1725989, checked in by , 5 months ago | |
---|---|
|
|
File size: 182 bytes |
Rev | Line | |
---|---|---|
[1725989] | 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.