Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr79788-2.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR middle-end/79788 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-ftrapv" } */ | |
4 | |
5 void bar (void); | |
6 void | |
7 foo (long long int p, long long int q) | |
8 { | |
9 if (p >= 1234567891234567891234567891234567812 + q) /* { dg-warning "integer constant is too large for its type" } */ | |
10 bar (); | |
11 } |