OpenBSD-4.6/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp

#include <stdio.h>

int main(int argc, char **argv) {
	char buf[10];
	snprintf(buf, -sizeof(buf), "%s", "foo");
	return 1;
}