]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.dg/ubsan/pr81530.C
PR c++/87996 - size of array is negative error when SIZE_MAX/2 < sizeof(array) <...
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / ubsan / pr81530.C
index 310ea8e30321c1074fe69830cfeb689506ed22f7..d3a3221615dc94354329d24fb1f5c3a1a298f714 100644 (file)
@@ -2,4 +2,4 @@
 /* { dg-do compile } */
 /* { dg-options "-fsanitize=undefined" } */
 
-int a[(long) 4e20]; /* { dg-error "7:size of array .a. is (too large|negative)" } */
+int a[(long) 4e20]; /* { dg-error "7:size of array .a." } */