mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
16 lines
209 B
D
16 lines
209 B
D
// https://issues.dlang.org/show_bug.cgi?id=22214
|
|
|
|
struct S
|
|
{
|
|
struct T
|
|
{
|
|
}
|
|
}
|
|
|
|
void main() {
|
|
const S s;
|
|
static if (__traits(compiles, { auto t = s.T; }))
|
|
{
|
|
auto t = s.T;
|
|
}
|
|
}
|