2016-09-01 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr40340-5.c
blobf50514c3ac9a6deb56a1773ab91841ab0ca7ccdb
1 /* PR middle-end/40340 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wall -Wsystem-headers -g" } */
5 #define TEST3
6 #include "pr40340.h"
8 int
9 main (void)
11 char buf[4];
12 test3 (buf);
13 return 0;
16 /* { dg-warning "will always overflow destination buffer" "" { target *-*-* } 10 } */
17 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */