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 3c09d47 was             2d59d53, checked in by Aaron Moss <a3moss@…>, 9 years ago | 
        
          | 
Added regression test for void* issues
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            145 bytes | 
      
      
| Rev | Line |  | 
|---|
| [2d59d53] | 1 | int main() { | 
|---|
|  | 2 | int i, j; | 
|---|
|  | 3 | void *a = &i, *b = &j; | 
|---|
|  | 4 |  | 
|---|
|  | 5 | if ( a == 0 ) { | 
|---|
|  | 6 | abort(); | 
|---|
|  | 7 | } | 
|---|
|  | 8 |  | 
|---|
|  | 9 | if ( a == b ) { | 
|---|
|  | 10 | abort(); | 
|---|
|  | 11 | } | 
|---|
|  | 12 |  | 
|---|
|  | 13 | if ( ! a ) { | 
|---|
|  | 14 | abort(); | 
|---|
|  | 15 | } | 
|---|
|  | 16 | } | 
|---|
|  | 17 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.