gnu_label_addr_basic.c (191B)
1 /* GNU labels-as-values: take a label address into a pointer and branch to it 2 * with a computed goto. */ 3 int test_main(void) { 4 void* p = &&done; 5 goto* p; 6 return 1; 7 done: 8 return 7; 9 }
kitkit | |
| git clone https://git.ryansepassi.com/git/kit.git | |
| Log | Files | Refs | README |