mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
9 lines
195 B
D
9 lines
195 B
D
// https://issues.dlang.org/show_bug.cgi?id=22813
|
|
struct Template(int i) { }
|
|
uint test22813()
|
|
{
|
|
Template!(1) x;
|
|
return 0;
|
|
}
|
|
immutable constant = test22813();
|
|
alias X = Template!constant;
|