File:  [Research Unix] / researchv10no / cmd / ccom / vax / gbug.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

typedef struct P0 {
	unsigned L9 : 8;		
} P0;
P0 x;
unsigned char sv[512];
addproc(n)
{	int j, i=4;
	((P0 *)(&sv[i]))->L9 = j = addqueue();
}
a()
{	int j;
	x.L9 = j = addqueue();
}
addqueue()
{
	return(12);
}
main()
{
	addproc(1);
	printf("%d\n", sv[4]);
	a();
	printf("%d\n", x.L9);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.