blob: e21724686c4ae11c7aa23628d10b3af0cf0ddfe1 (
plain)
1
2
3
4
5
6
|
/* PR sanitizer/81530 */
/* { dg-do compile } */
/* { dg-options "-fsanitize=undefined" } */
int a[(long) 4e20]; /* { dg-error "overflow in constant expression" } */
/* { dg-error "size of array .a. is too large" "" { target *-*-* } .-1 } */
|