PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr79788-1.c
blob5ad546cd2355aa607736e1140cb6fc1c2cc99655
1 /* PR middle-end/79788 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 long long
6 foo (long long x, long long y)
8 if (y > 1234567891234567891234567891234567812 / x) /* { dg-warning "integer constant is too large for its type" } */
9 return x;
10 return 0;