Changeset b3f252a for src/tests/dtor-early-exit.c
- Timestamp:
- Sep 7, 2017, 10:36:35 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- e0886db
- Parents:
- 871cdb4 (diff), 416cc86 (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 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/dtor-early-exit.c
r871cdb4 rb3f252a 220 220 } 221 221 222 // TODO: implement __label__ and uncomment these lines 223 void computedGoto() { 224 // __label__ bar; 225 void *ptr; 226 ptr = &&foo; 227 goto *ptr; 228 assert(false); 229 foo: ; 230 // void f() { 231 // ptr = &&bar; 232 // goto *ptr; 233 // assert(false); 234 // } 235 // f(); 236 // assert(false); 237 // bar: ; 238 } 239 222 240 int main() { 223 241 sepDisable(sout); … … 229 247 sout | endl; 230 248 h(); 249 250 computedGoto(); 231 251 } 232 252
Note: See TracChangeset
for help on using the changeset viewer.