ADT
        arm-eh
        ast-experimental
        enum
        forall-pointer-decay
        jacob/cs343-translation
        new-ast-unique-expr
        pthread-emulation
        qualifiedEnum
      
      
        
          | 
            Last change
 on this file since 191a190 was             b2de2e0, checked in by Andrew Beach <ajbeach@…>, 5 years ago           | 
        
        
          | 
             
Improved the check of the catch[Resume] exception declaration. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            258 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | // Check that the exception type check works.
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #include <exception.hfa>
 | 
|---|
| 4 | 
 | 
|---|
| 5 | TRIVIAL_EXCEPTION(truth);
 | 
|---|
| 6 | 
 | 
|---|
| 7 | int main(int argc, char * argv[]) {
 | 
|---|
| 8 |         try {} catch (int e) {}
 | 
|---|
| 9 |         try {} catch (truth & e) {}
 | 
|---|
| 10 |         try {} catchResume (int e) {}
 | 
|---|
| 11 |         try {} catchResume (truth & e) {}
 | 
|---|
| 12 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.