Changeset f80e0218 for src/tests/labelledExit.c
- Timestamp:
- Jun 30, 2016, 4:32:56 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- ea29e73
- Parents:
- 1b5c81ed (diff), 84d4d6f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
src/tests/labelledExit.c (moved) (moved from src/Tests/LabelledExit.c ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/labelledExit.c
r1b5c81ed rf80e0218 1 int main() {1 int foo() { 2 2 int i; 3 3 int x, y; … … 122 122 123 123 // computed goto 124 {125 void *array[] = { &&foo, &&bar, &&hack };126 foo: bar: hack:127 &&foo;128 &&bar;129 goto *array[i];130 }124 // { 125 // void *array[] = { &&foo, &&bar, &&hack }; 126 // foo: bar: hack: 127 // &&foo; 128 // &&bar; 129 // goto *array[i]; 130 // } 131 131 132 #if 0132 #if 1 133 133 Q: if ( i > 5 ) { 134 134 i += 1; 135 break Q;135 // break Q; 136 136 } else 137 137 i += 1; 138 138 #endif 139 } 140 141 int main(int argc, char const *argv[]) { 142 /* code */ 143 return 0; 139 144 } 140 145
Note:
See TracChangeset
for help on using the changeset viewer.