Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/labelledExit.cfa

    re53e5aa rdc8511c  
    1010// Created On       : Wed Aug 10 07:29:39 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Feb  5 16:49:48 2020
    13 // Update Count     : 9
     12// Last Modified On : Tue Nov  6 17:57:42 2018
     13// Update Count     : 4
    1414//
    1515
     
    136136        }
    137137
    138         // all nested control options, labelled exits
    139 
    140   Comp: {
    141           Try: try {
    142                   For: for ( ;; ) {
    143                           While: while ( true ) {
    144                                   Do: do {
    145                                           If: if ( true ) {
    146                                                   Switch2: switch ( 3 ) {
    147                                                           case 3:
    148                                                                 break Try;
    149                                                                 break Comp;
    150                                                                 break For;              continue For;
    151                                                                 break While;    continue While;
    152                                                                 break Do;               continue Do;
    153                                                                 break If;
    154                                                                 break Switch2;
    155                                                         } // switch
    156                                                 } // if
    157                                         } while ( true );
    158                                 } // while
    159                         } // for
    160                 } finally {} // always executed
    161         } // compound
    162 
    163138        // computed goto
    164         {
    165                 void *array[] = { &&foo, &&bar, &&hack };
    166           foo: bar: hack:
    167                 &&foo;
    168                 &&bar;
    169                 goto *array[i];
    170         }
     139        // {
     140        //      void *array[] = { &&foo, &&bar, &&hack };
     141        //   foo: bar: hack:
     142        //      &&foo;
     143        //      &&bar;
     144        //      goto *array[i];
     145        // }
    171146
    172147  Q: if ( i > 5 ) {
Note: See TracChangeset for help on using the changeset viewer.