kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

gnu_label_addr_after_computed_goto.c (219B)


      1 /* A label's address may not be taken after a computed goto, since each
      2  * computed goto's target set is finalized when it is emitted. */
      3 int test_main(void) {
      4   void* p = &&a;
      5   goto* p;
      6 a:
      7   p = &&b;
      8 b:
      9   return 0;
     10 }