Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (27 sloc) 287 Bytes
// Yield test for Winxed compiler.
function test()
{
say('Hello');
next:
yield 42;
yield 7;
goto next;
}
function main [main] ()
{
int a;
a=test();
say(a);
a=test();
say(a);
a=test();
say(a);
a=test();
say(a);
a=test();
say(a);
a=test();
say(a);
a=test();
say(a);
}
Jump to Line
Something went wrong with that request. Please try again.