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
c++: fix explicit/copy problem [PR109247]
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
gdc37.d
blob
171ace527a0bccde1fd6b9b685edafe11f28a8fc
1
// https://bugzilla.gdcproject.org/show_bug.cgi?id=37
2
// { dg-do compile }
3
4
struct
S37
5
{
6
int
bar
(
const
S37 s
)
7
{
8
return
0
;
9
}
10
}
11
12
int
test37
()
13
{
14
S37 s
;
15
return
s
.
bar
(
s
);
16
}