☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
ice13920.d
☽
☼
gcc/testsuite/gdc.test/compilable/ice13920.d
code
plain
raw
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
}