summaryrefslogtreecommitdiff
path: root/integer-overflow.c
blob: a6346f7a471a6da194218e3e4fce1988cab1fed4 (plain)
1
2
3
4
5
6
7
#include <limits.h>

int main(void)
{
	/* On two's-compliment systems, -INT_MIN is not representable */
	return -(INT_MIN);
}