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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr43245.c
blob
85490ffaa82cfb40e9ffd3c37c478bbf6d1bf045
1
/* PR c/43245 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wno-discarded-qualifiers" } */
4
5
void
6
foo
(
char
*
p
)
7
{
8
}
9
10
char
*
11
bar
(
void
)
12
{
13
const char
*
s
=
"foo"
;
14
char
*
s1
=
s
;
15
s1
=
s
;
16
foo
(
s
);
17
return
s
;
18
}