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