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 50abab9 was             e757af2, checked in by Thierry Delisle <tdelisle@…>, 9 years ago           | 
        
        
          | 
             
renamed all tests to lower-case leading character 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            491 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | //Testing array declarations
 | 
|---|
| 2 | int a1[];
 | 
|---|
| 3 | //int a2[*];
 | 
|---|
| 4 | //double a4[3.0];
 | 
|---|
| 5 | 
 | 
|---|
| 6 | int m1[][3];
 | 
|---|
| 7 | //int m2[*][*];
 | 
|---|
| 8 | int m4[3][3];
 | 
|---|
| 9 | 
 | 
|---|
| 10 | typedef int T;
 | 
|---|
| 11 | 
 | 
|---|
| 12 | int fred() {
 | 
|---|
| 13 | //      int a1[];
 | 
|---|
| 14 | //      int a2[*];
 | 
|---|
| 15 |         int a4[3];
 | 
|---|
| 16 |         int T[3];
 | 
|---|
| 17 | }
 | 
|---|
| 18 | 
 | 
|---|
| 19 | int mary( int T[3],
 | 
|---|
| 20 |                   int p1[const 3],
 | 
|---|
| 21 |                   int p2[static 3],
 | 
|---|
| 22 |                   int p3[static const 3]
 | 
|---|
| 23 |         ) {
 | 
|---|
| 24 | }
 | 
|---|
| 25 | 
 | 
|---|
| 26 | int (*tom())[3] {
 | 
|---|
| 27 | }
 | 
|---|
| 28 | 
 | 
|---|
| 29 | int (*(jane)())( int T[3],
 | 
|---|
| 30 |                                  int p1[const 3],
 | 
|---|
| 31 |                                  int p2[static 3],
 | 
|---|
| 32 |                                  int p3[static const 3]
 | 
|---|
| 33 |         ) {
 | 
|---|
| 34 | }
 | 
|---|
| 35 | 
 | 
|---|
| 36 | //Dummy main
 | 
|---|
| 37 | int main(int argc, char const *argv[])
 | 
|---|
| 38 | {
 | 
|---|
| 39 |         return 0;
 | 
|---|
| 40 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.