source:
doc/theses/jiada_liang_MMath/test3.cfa
@
a9ae5ca
Last change on this file since a9ae5ca was 1725989, checked in by , 3 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.