ADT
        ast-experimental
      
      
        
          | Last change
 on this file since a167c70c was             12df6fe, checked in by JiadaL <j82liang@…>, 3 years ago | 
        
          | 
Fix an enumerator value bug; add basic tests for new features; save the current progress before merge
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            145 bytes | 
      
      
| Rev | Line |  | 
|---|
| [12df6fe] | 1 | #include <fstream.hfa> | 
|---|
|  | 2 |  | 
|---|
|  | 3 | enum Level { | 
|---|
|  | 4 | LOW, | 
|---|
|  | 5 | MEDIUM, | 
|---|
|  | 6 | HIGH | 
|---|
|  | 7 | }; | 
|---|
|  | 8 |  | 
|---|
|  | 9 | int main() { | 
|---|
|  | 10 | enum Level l = Level.LOW; | 
|---|
|  | 11 | sout | "l :" | l; | 
|---|
|  | 12 | return 0; | 
|---|
|  | 13 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.