ADT
        arm-eh
        ast-experimental
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        pthread-emulation
        qualifiedEnum
      
      
        
          | Last change
 on this file since 42a99b0 was             bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 7 years ago | 
        
          | 
Moved up many directories in source
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            317 bytes | 
      
      
| Rev | Line |  | 
|---|
| [273080f] | 1 | forall(otype T) | 
|---|
|  | 2 | struct wrap | 
|---|
|  | 3 | { | 
|---|
|  | 4 | T val; | 
|---|
|  | 5 | }; | 
|---|
|  | 6 |  | 
|---|
|  | 7 | forall(otype T) | 
|---|
|  | 8 | int ?==? (wrap(T) lhs, wrap(T) rhs) | 
|---|
|  | 9 | { | 
|---|
|  | 10 | return 0; | 
|---|
|  | 11 | } | 
|---|
|  | 12 |  | 
|---|
|  | 13 | /* | 
|---|
|  | 14 | struct wrap(int) 0; | 
|---|
|  | 15 | /*/ | 
|---|
|  | 16 | forall(otype T) | 
|---|
|  | 17 | struct wrap(T) 0; | 
|---|
|  | 18 | //*/ | 
|---|
|  | 19 |  | 
|---|
|  | 20 | int main(int argc, char const *argv[]) | 
|---|
|  | 21 | { | 
|---|
|  | 22 | wrap(int) test; | 
|---|
|  | 23 | if(test == 0) { return 1; } | 
|---|
|  | 24 | return 0; | 
|---|
|  | 25 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.