ADT
        aaron-thesis
        arm-eh
        ast-experimental
        cleanup-dtors
        deferred_resn
        demangler
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        no_list
        persistent-indexer
        pthread-emulation
        qualifiedEnum
      
      
        
          | 
            Last change
 on this file since 6fd8b0f was             273080f, checked in by Thierry Delisle <tdelisle@…>, 9 years ago           | 
        
        
          | 
             
added a bunch of bug repros 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            306 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 |     forall(otype T)
 | 
|---|
| 2 |     struct wrap
 | 
|---|
| 3 |     {
 | 
|---|
| 4 |         T val;
 | 
|---|
| 5 |     };
 | 
|---|
| 6 | 
 | 
|---|
| 7 |     forall(otype T)
 | 
|---|
| 8 |     T *? (wrap(T) rhs)
 | 
|---|
| 9 |     {
 | 
|---|
| 10 |         return rhs.val;
 | 
|---|
| 11 |     }
 | 
|---|
| 12 | 
 | 
|---|
| 13 |     int main(int argc, char const *argv[])
 | 
|---|
| 14 |     {
 | 
|---|
| 15 |         wrap(int) test;
 | 
|---|
| 16 |         test.val = 3;
 | 
|---|
| 17 |         int i = *test;
 | 
|---|
| 18 |         return 0;
 | 
|---|
| 19 |     }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.