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
/
gdc194.d
blob
6802895c769dd7577f23665eded8bd621489107f
1
// https://bugzilla.gdcproject.org/show_bug.cgi?id=194
2
// { dg-do compile }
3
4
auto
test194
(
ref bool
overflow
)
5
{
6
import
core
.
checkedint
;
7
8
return
adds
(
1
,
1
,
overflow
);
9
}