PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43245.c
blob85490ffaa82cfb40e9ffd3c37c478bbf6d1bf045
1 /* PR c/43245 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wno-discarded-qualifiers" } */
5 void
6 foo (char *p)
10 char *
11 bar (void)
13 const char *s = "foo";
14 char *s1 = s;
15 s1 = s;
16 foo (s);
17 return s;