// "078.hac"
// copy-modified from "077.hac"
// should fail unrolling on bad range

template <pint N, M, d[N]>
defproc foo(bool r, s) { }

template <pint N, d[N]>
defproc ass(bool x, y, z) {
	foo<N, 3, d[0..N]> myfoo(x,y);	// using explicit (bad) range
}

bool a, b, c;
pint p[3];
p[0] = 1;
p[1] = 0;
p[2] = 1;
ass<3, p> myass(a, b, c);

