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
/
pr100882c.d
blob
f4e6e4d3651bb5fb3265773ec90ce2c169f571a3
1
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100882
2
// { dg-do compile }
3
4
struct
CowArray
5
{
6
this
(
this
)
7
{
8
}
9
}
10
11
struct
Tuple
12
{
13
CowArray expand
;
14
}
15
16
auto
tuple
(
CowArray
)
17
{
18
return
Tuple
();
19
}
20
21
auto
parseCharTerm
()
22
{
23
CowArray set
;
24
return
tuple
(
set
);
25
}