source: tests/typeof.cfa @ 41870a5

ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change on this file since 41870a5 was 66812dd, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

convert tests to always print output (no empty .expect files)

  • Property mode set to 100644
File size: 286 bytes
RevLine 
[51b7345]1int main() {
[66812dd]2        int *v1;
3        typeof(v1) v2;
4        typeof(*v1) v3[4];
5        char *v4[4];
6        typeof(typeof(char *)[4]) v5;
7        typeof (int *) v6;
8        typeof( int ( int, int p ) ) *v7;
9        typeof( [int] ( int, int p ) ) *v8;
10        (typeof(v1)) v2; // cast with typeof
11        printf( "done\n" );                             // non-empty .expect file
[51b7345]12}
Note: See TracBrowser for help on using the repository browser.