]>
Commit | Line | Data |
---|---|---|
8487c9a5 JJ |
1 | /* PR middle-end/79788 */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-O2" } */ | |
4 | ||
5 | long long | |
6 | foo (long long x, long long y) | |
7 | { | |
8 | if (y > 1234567891234567891234567891234567812 / x) /* { dg-warning "integer constant is too large for its type" } */ | |
9 | return x; | |
10 | return 0; | |
11 | } |