shithub: scc

ref: 08f54b63417d00eff3ca95469a436888add76741
dir: /tests/cc/error/0028-noconstinit.c/

View raw version
#include <limits.h>

struct stk {
	int f1;
	int f2;
};

int
main()
{
	static struct stk s = {LLONG_MAX+1};

	return s.f2;
}