Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr40340-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
rev | line source |
---|---|
111 | 1 /* PR middle-end/40340 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -Wall -Wno-system-headers" } */ | |
4 | |
5 #include "pr40340.h" | |
6 | |
7 int | |
8 main (void) | |
9 { | |
10 char buf[4]; | |
11 memset (buf, 0, 6); | |
12 return 0; | |
13 } | |
14 | |
15 /* { dg-warning "writing" "" { target *-*-* } 10 } */ | |
16 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */ |