source:
tests/typeof.cfa@
427854b
      
      | Last change on this file since 427854b was dc8511c, checked in by , 7 years ago | |
|---|---|
| 
 | |
| File size: 263 bytes | |
| Rev | Line | |
|---|---|---|
| [51b73452] | 1 | int main() { | 
| 2 | int *v1; | |
| [b886f90] | 3 | typeof(v1) v2; | 
| 4 | typeof(*v1) v3[4]; | |
| [51b73452] | 5 | char *v4[4]; | 
| [b886f90] | 6 | typeof(typeof(char *)[4]) v5; | 
| 7 | typeof (int *) v6; | |
| 8 | typeof( int ( int, int p ) ) *v7; | |
| 9 | typeof( [int] ( int, int p ) ) *v8; | |
| [85517ddb] | 10 | (typeof(v1)) v2; // cast with typeof | 
| [51b73452] | 11 | } | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    