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
        new-env
        no_list
        persistent-indexer
        pthread-emulation
        qualifiedEnum
        resolv-new
        with_gc
      
      
        
          | Last change
 on this file since 0583064b was             9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 9 years ago | 
        
          | 
add thesis source
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            191 bytes | 
      
      
| Line |  | 
|---|
| 1 | struct S { int x; double y; }; | 
|---|
| 2 | [void] ?{}(* [int, double] this, S s) { | 
|---|
| 3 | this->0 = s.x; | 
|---|
| 4 | this->1 = s.y; | 
|---|
| 5 | } | 
|---|
| 6 | int main() { | 
|---|
| 7 | S s = { 123, 345 }; | 
|---|
| 8 | [int, double] x = s; | 
|---|
| 9 | printf("%d %g\n", x); | 
|---|
| 10 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.