summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr68657-2.c
blob: 13910881f4d672127687f30129f42ad18db07fb2 (plain)
1
2
3
4
5
6
7
8
9
/* PR c/68657 */
/* { dg-do compile } */
/* { dg-options "-Werror=larger-than=65536" } */
/* { dg-require-effective-target ptr32plus } */

int a[131072];	/* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */
int b[1024];	/* { dg-bogus "size of 'b' is \[1-9]\[0-9]* bytes" } */

/* { dg-prune-output "treated as errors" } */