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