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
/
gdc196.d
blob
750cef81c970eceec6c4c198c7c5b6c056c3879b
1
// https://bugzilla.gdcproject.org/show_bug.cgi?id=196
2
// { dg-do assemble }
3
// { dg-skip-if "needs gcc/config.d" { ! d_runtime } }
4
5
class
C196
6
{
7
int
a
;
8
}
9
10
struct
S196
11
{
12
int
a
;
13
}
14
15
void
test196
()
16
{
17
__gshared c
=
new
C196
();
18
__gshared s
=
new
S196
(
0
);
19
c
.
a
=
1
;
20
s
.
a
=
1
;
21
}