LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr84953.c
blob723a8a67dda7b2a92e43fe41bc7e5c532b9a7044
1 /* PR c/84953 */
2 /* { dg-do compile } */
4 char *strpbrk (const char *, const char *);
6 char *
7 test (char *p)
9 p = strpbrk (p, ""); /* { dg-bogus "assignment discards 'const' qualifier from pointer target type" } */
10 return p;