☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
issue19925.d
☽
☼
gcc/testsuite/gdc.test/compilable/issue19925.d
code
plain
raw
1
// REQUIRED_ARGS: -unittest
2
module issue19925;
3
4
unittest {
5
with (S) {
6
a(); // Compiles!
7
b(); // Fails!
8
}
9
}
10
11
struct S {
12
static void a() {}
13
static void opDispatch(string name)() {}
14
}