LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr40340-1.c
blob78540a252128fb75d12704e457f573fb53567518
1 /* PR middle-end/40340 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wall -Wno-system-headers" } */
5 #include "pr40340.h"
7 static inline
8 __attribute__ ((always_inline))
9 void
10 test (char *p)
12 memset (p, 0, 6);
15 int
16 main (void)
18 char buf[4];
19 test (buf);
20 return 0;
23 /* { dg-warning "writing" "" { target *-*-* } 10 } */
24 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */