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, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
ice13920.d
blob
a4540d1eac87d5bd1be2898117eedbdc491949a1
1
// REQUIRED_ARGS: -o-
2
// PERMUTE_ARGS:
3
4
class
Foo
5
{
6
void
foo
()
7
{
8
foreach
(
f
;
__traits
(
getOverloads
,
typeof
(
this
),
"bar"
))
9
{
10
auto
dg
= &
f
;
11
}
12
13
foreach
(
f
;
__traits
(
getVirtualMethods
,
typeof
(
this
),
"bar"
))
14
{
15
auto
dg
= &
f
;
16
}
17
}
18
19
uint
bar
() {
return
0
; }
20
}