summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Woverflow-3.C
blob: 73a021b59460a4a7da0c96ba7b9d269f926b6ac5 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-O2 -Wno-overflow" } */

#include <limits.h>

int foo = INT_MAX + 1;