1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* PR middle-end/40340 */ /* { dg-do compile } */ /* { dg-options "-O2 -Wall -Wno-system-headers" } */ #define TEST2 #include "pr40340.h" int main (void) { test2 (); return 0; } /* { dg-bogus "will always overflow destination buffer" "" { target *-*-* } 10 } */