vtest "Backend as a boolean expression"

server s1 -start

vinyl v1 -vcl+backend {
	import vtc;

	sub vcl_recv {
		set req.backend_hint = vtc.no_backend();
		if (!req.backend_hint) {
			return (synth(404));
		}
	}
} -start

client c1 {
	txreq
	rxresp
	expect resp.status == 404
} -run
