ast-experimental
Last change
on this file since e6c9115 was
e874605,
checked in by JiadaL <j82liang@…>, 2 years ago
|
Add class InlineValueDecl?, which is a Declaration class that works as a placeholder for aggregration value inherited from other aggregration. Disable inline value overwrite.
|
-
Property mode set to
100644
|
File size:
148 bytes
|
Line | |
---|
1 | #include <fstream.hfa> |
---|
2 | |
---|
3 | enum Level { |
---|
4 | LOW, |
---|
5 | MEDIUM, |
---|
6 | HIGH |
---|
7 | }; |
---|
8 | |
---|
9 | int main() { |
---|
10 | enum Level l = Level.MEDIUM; |
---|
11 | sout | "l :" | l; |
---|
12 | return 0; |
---|
13 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.