comparison gcc/testsuite/c-c++-common/pr68657-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR c/68657 */ 1 /* PR c/68657 */
2 /* { dg-do compile } */ 2 /* { dg-do compile } */
3 /* { dg-options "-Werror=larger-than=65536" } */ 3 /* { dg-options "-Werror=larger-than=65536" } */
4 /* { dg-require-effective-target ptr32plus } */ 4 /* { dg-require-effective-target ptr32plus } */
5 5
6 int a[131072]; /* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */ 6 int a[131072]; /* { dg-error "size of .a. 524288 bytes exceeds maximum object size 65536" } */
7 int b[1024]; /* { dg-bogus "size of 'b' is \[1-9]\[0-9]* bytes" } */ 7 int b[1024]; /* { dg-bogus "size" } */
8 8
9 /* { dg-prune-output "treated as errors" } */ 9 /* { dg-prune-output "treated as errors" } */