Logo Search packages:      
Sourcecode: helium version File versions  Download package

labels.c

/*-----------------------------------------------------------------------
  The Lazy Virtual Machine.

  Daan Leijen.

  Copyright 2001, Daan Leijen. All rights reserved. This file is
  distributed under the terms of the GNU Library General Public License.
-----------------------------------------------------------------------*/

/* $Id: labels.c 2 2001-11-12 11:30:05Z daan $ */

int foo( void ) {
  void* label[] = { &&label0 };

  goto *(label[0]);
  return 1;

label0:
  return 0;
}

int main(int argc, char **argv)
{
  return foo();
}

Generated by  Doxygen 1.6.0   Back to index