shithub: scc

ref: 55eb22f73fd61f6a5393869d99d9098aee5b7337
dir: /cc1/tests/test011.c/

View raw version
/*
name: TEST011
description: Basic test for goto
output:
F1
G1	F1	main
{
-
L2
	j	L3
	yI	#I1
L4
	yI	#I0
L3
L5
	j	L4
	yI	#I1
}
*/

#line 1

int
main() {
	start:
		goto next;
		return 1;
	success:
		return 0;
	next:
	foo:
		goto success;
		return 1;
}