PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr79788-2.c
blobc9447b1f42a19af82b8c073503d2f22a5bb1e3f7
1 /* PR middle-end/79788 */
2 /* { dg-do compile } */
3 /* { dg-options "-ftrapv" } */
5 void bar (void);
6 void
7 foo (long long int p, long long int q)
9 if (p >= 1234567891234567891234567891234567812 + q) /* { dg-warning "integer constant is too large for its type" } */
10 bar ();