mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
17 lines
229 B
D
17 lines
229 B
D
/* https://issues.dlang.org/show_bug.cgi?id=23262
|
|
*/
|
|
|
|
struct T()
|
|
{
|
|
string[] tags;
|
|
|
|
this(string[] tags...)
|
|
{
|
|
this.tags = tags; // don't infer `return` attribute for `tags`
|
|
}
|
|
}
|
|
|
|
void test()
|
|
{
|
|
T!() t;
|
|
}
|