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
d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test17541.d
blob
2fe43430cd31389fb25b5a43e9cb56f21f289d33
1
/* EXTRA_SOURCES: imports/test17541_2.d imports/test17541_3.d
2
*/
3
4
// https://issues.dlang.org/show_bug.cgi?id=17541
5
6
module
one
;
7
8
import
two
;
9
import
three
;
10
11
struct
BB
12
{
13
enum
MAX_NUM_FIBERS
=
4096
;
14
15
TWOR
!
1
t
;
16
TT
!(
int
)
tt
;
17
auto
foo
()
18
{
19
tt
.
insertabcdefg
(
1
);
20
}
21
}
22
23
BB bb
;
24
25
@nogc
bar
()
26
{
27
bb
.
foo
();
28
}