☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test22214.d
☽
☼
gcc/testsuite/gdc.test/compilable/test22214.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=22214
2
3
struct S
4
{
5
struct T
6
{
7
}
8
}
9
10
void main() {
11
const S s;
12
static if (__traits(compiles, { auto t = s.T; }))
13
{
14
auto t = s.T;
15
}
16
}