repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr84953.c
blob
723a8a67dda7b2a92e43fe41bc7e5c532b9a7044
1
/* PR c/84953 */
2
/* { dg-do compile } */
3
4
char
*
strpbrk
(
const char
*,
const char
*);
5
6
char
*
7
test
(
char
*
p
)
8
{
9
p
=
strpbrk
(
p
,
""
);
/* { dg-bogus "assignment discards 'const' qualifier from pointer target type" } */
10
return
p
;
11
}