Changes in tests/labelledExit.cfa [e53e5aa:dc8511c]
- File:
-
- 1 edited
-
tests/labelledExit.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/labelledExit.cfa
re53e5aa rdc8511c 10 10 // Created On : Wed Aug 10 07:29:39 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Feb 5 16:49:48 202013 // Update Count : 912 // Last Modified On : Tue Nov 6 17:57:42 2018 13 // Update Count : 4 14 14 // 15 15 … … 136 136 } 137 137 138 // all nested control options, labelled exits139 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 } // switch156 } // if157 } while ( true );158 } // while159 } // for160 } finally {} // always executed161 } // compound162 163 138 // 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 // } 171 146 172 147 Q: if ( i > 5 ) {
Note:
See TracChangeset
for help on using the changeset viewer.